Re: PHP/MySQL Code
| From: | Steve Werby | Date: | Fri, 06 Apr 2001 17:50:47 +0000 |
| Subject: | Re: PHP/MySQL Code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47477@lists.php.net to get a copy of this message | ||
"long huynh" <long@longhuynh.com> wrote:
> I think the function should be mysql_num_rows. There's an mSQL function
> msql_numrows, but for MySQL it needs the second underscore in between
'num'
> and 'rows'.
>
> > $num = mysql_numrows($result);
Either will work. mysql_numrows() is the old name of the function from
previous PHP versions.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/