note 89605 rejected from function.mysql-num-rows by thiago
| From: | thiago@php.net | Date: | Mon, 16 Mar 2009 15:17:45 +0000 |
| Subject: | note 89605 rejected from function.mysql-num-rows by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151998@lists.php.net to get a copy of this message | ||
Note Submitter: daloskein at mail dot ru
----
at writing (as well as in an example higher):
$num_rows = mysql_num_rows($result);
I get an error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Z:\home\uchoba\www\scripts\registration.php on line 21
where I made a mistake?