MySQL error
| From: | Brian Rue | Date: | Tue, 10 Oct 2000 01:45:59 +0000 |
| Subject: | MySQL error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19273@lists.php.net to get a copy of this message | ||
Hi,
I'm getting the following error:
Warning: Supplied argument is not a valid MySQL result resource .....
Here's the code:
$query="SELECT * FROM games WHERE
genre=$gameone_genre&number=$gameone_number";
$info=mysql_query($query,$db);
$row=mysql_fetch_row($info);
The last line is the one causing the error. What am I doing wrong?
Thanks