I have been stuck on this for a couple of days now...my code is pretty simple but i just can't seem to get things up and running. I am getting this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\php\show_more_db.php on line 7
using this php code:
$sql_select = "SELECT * FROM user";
$result = mysql_query($sql_select);
while($query_data = mysql_fetch_row($result))
echo "'",$query_data,"' is also known as ",$query_data,"<P>";
I got this code right out of the book...everything worked well up to this point. Any clue to whats going on??