Name: Anonymous 2010-12-16 8:44
So... here is my code:
What do I have to echo to get it to print out the entire table? (It's only 4 entries)
mysql_select_db("mydb");
$SQLstring = "SELECT FANID, NAME, CITY, EMAIL FROM FANS;";
$QueryResult = mysql_query($SQLstring)
Or die("<P>Unable to execute the query</P>" .
"<P>Error code " . mysql_errno($DBConnect) .
" : " . mysql_error($DBConnect) . "</P>");
echo "<P>$QueryResult</P>";What do I have to echo to get it to print out the entire table? (It's only 4 entries)