mysql_num_rows()
| From: | William_dw -- Sqlcoders | Date: | Sat, 08 Jun 2002 01:23:58 +0000 |
| Subject: | mysql_num_rows() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101125@lists.php.net to get a copy of this message | ||
Hiya!,
Does anyone know whether mysql_num_rows is zero or one based?
that is, if I have 5 records will mysql_num_rows() return 4 or 5?
Thanks in advance!,
Dw.
(I did check the php.net and MySQL manual for mysql_num_rows,
php.net dosent say and MySQL only gives a one line description, which is how
to call mysql_num_rows).