Re: Function to count the number of row after a query.
| From: | Joey | Date: | Mon, 21 Feb 2000 01:58:11 +0000 |
| Subject: | Re: Function to count the number of row after a query. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15734@lists.php.net to get a copy of this message | ||
Ummmm...how about mysql_num_rows($query).?
Or maybe you mean mysql_affected_rows?
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Mon, 21 Feb 2000, Mark Lo wrote:
> Hi,
>
> Any functions to count for the total number of row after a query is
> finished.
>
> mysql_query($result)
>
> so i want to count the total number of row of query returned.
>
> Thank you so much for your attentions,
>
> Mark Lo
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>