mysql_num_rows
| From: | Gurhan Ozen | Date: | Sun, 06 Jan 2002 19:52:05 +0000 |
| Subject: | mysql_num_rows | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15456@lists.php.net to get a copy of this message | ||
Hi everyone,
I have a problem with mysql connectivety which is making me nuts. If the
query is "select blah, blah from table" (i.e. without where clause)
mysql_num_rows returns the right number, but when i put in a query with
where clause, although there are rows returned, PHP is giving:
"Warning: Supplied argument is not a valid MySQL result resource" error..
Can anyone point me to any direction about this?
Thanks.
Gurhan