Re: mysql_num_rows dos not work
| From: | Jason Brooke | Date: | Sun, 02 Jul 2000 15:23:03 +0000 |
| Subject: | Re: mysql_num_rows dos not work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4366@lists.php.net to get a copy of this message | ||
Is this any help?
http://www.php.net/manual/function.mysql-num-rows.php
Make sure $result is what mysql_num_rows expects
jason
> Dear Sir/Madam
> I am using PHP4.0.
> I have a problem:
> I do not know how can i get the number of rows in query result.
> When i use mysql_num_rows($result) whic $result comes from a
> mysql_db_query a Warning comes that say :
> <<Supplied argument is not a valid MySQL result resource>>
> Can you help me how to use mysql functions to get correct results.
>
> Thanks.