RE: [PHP] what is the problem with this query?
| From: | Jay Blanchard | Date: | Thu, 29 Dec 2005 13:30:10 +0000 |
| Subject: | RE: [PHP] what is the problem with this query? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227968@lists.php.net to get a copy of this message | ||
[snip]
could you please tell me what is the problem with this query
mysql_query("SELECT * FROM mailbox WHERE read=''");
i always get this warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in index.php on line 24
[/snip]
THere is no apparent problem with the query, but there is a problem with
mysql_num_rows(). Can you show us he code there?