Re: run query
| From: | @ Edwin | Date: | Tue, 10 Dec 2002 18:44:02 +0000 |
| Subject: | Re: run query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127691@lists.php.net to get a copy of this message | ||
Oops, ok, I misread the original question :)
"Rich Gray" <rich@f1central.net> wrote:
> Er... but the original poster wanted a count of rows returned by a
> particular query... your method just returns the number of rows in the
> table...
Anyway, you're right. If you already have a result then use
mysql_num_rows().
- E
...[snip]...