Re: count function?
| From: | Phil Jackson | Date: | Sat, 31 Mar 2001 01:42:15 +0000 |
| Subject: | Re: count function? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8060@lists.php.net to get a copy of this message | ||
What is retrieved if you do a Select Count(*) from myDb where
condition = parameters?
Seems your result set should contain this value...
Phil J.
DC wrote:
> Hi All
> I cant quite work out how to count the number of rows in my mysql db that
> match a certain critieria and the show that number numericaly in my pages.
>
> Checked books, php.net etc.
>
> Any help is appreciated
>
> Yours Dave C
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net