No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
from a string that's pulled from a mysql database? i know stripping new lines is [code] $d = str_replace("\r\n","",$d);[/code] but what about tabs and extra spaces? |
|
how would i go about doing this? I have several html forms that i have made php scripts to insert the data into mysql databases. What I have gotten it to do so far, is give me a blank page with confirmation messages saying the it connected to the database … |
|
i'm trying to populate a select list from a mysql database. my line numbers on the code are 90 to 104. the error i'm getting is Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\capstone\admin\admin_curriculum.php on line 99 my code is: [code=php] $con = mysqli_connect("localhost","root",""); $sql … |