note 19779 deleted from function.mysql-num-rows by alindeman
| From: | alindeman@php.net | Date: | Mon, 11 Mar 2002 13:33:00 +0000 |
| Subject: | note 19779 deleted from function.mysql-num-rows by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27620@lists.php.net to get a copy of this message | ||
RE: Why does mysql_num_rows($query) in Control Structures returns "Warning: Supplied argument
is not a valid MySQL result resource in ..." ? by html_addict@hotmail.com 30-Jan-2002 11:43
and Manuel_Hegemann@web.de 08-Feb-2002 07:49
I encountered the same problem and found that the "Warning" occures when no row was
returned NOT by reason of "Empty set" BUT by reason of SQL error.
Just try typing the query in MySQL prompt, then you will get an error.