Hrm, I don't know why I am getting this error message:
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/REMOVED/public_html/gardening/display.php on line 15
Here is that portion of the code:
mysql_connect(localhost,$username,$password);
@mysql_select_db($db) or die( "Unable to select database");
$query='SELECT * FROM ffxigtmain';
$result=mysql_query($query);
$num=mysql_numrows($result);
echo "<b><center>Database Output</center></b><br><br>";
I have tried using single and double quotes around the $query value. Does anyone have a clue what I broke? 🙂