note 17651 added to function.mysql-num-rows
| From: | terence dot hickey at ul dot ie | Date: | Tue, 18 Dec 2001 14:33:39 +0000 |
| Subject: | note 17651 added to function.mysql-num-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23128@lists.php.net to get a copy of this message | ||
hi i am using the following statement and i am get an error any advice?
code:
if(mysql_num_rows($result))
error:
Warning: Supplied argument is not a valid MySQL result resource in c:\path\to\code.php on line 29
line 29 is the code above "or so i believe at least" i have installed the latest version
of PHP and i am still getting the error.
any help apprieciated.
Terence
--
http://www.php.net/manual/en/function.mysql-num-rows.php
http://master.php.net/manage/user-notes.php?action=edit+17651
http://master.php.net/manage/user-notes.php?action=delete+17651
http://master.php.net/manage/user-notes.php?action=reject+17651