Re: [php] nomenclature
| From: | John Taylor-Johnston | Date: | Sun, 23 Mar 2003 06:26:43 +0000 |
| Subject: | Re: [php] nomenclature | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140743@lists.php.net to get a copy of this message | ||
Thanks jason, john.
http://www.php.net/manual/en/function.mysql-fetch-object.php
$row and $result
Jason Wong wrote:
> On Sunday 23 March 2003 13:13, John Hicks wrote:
> > $result = mysql_query($sql) ;
> > ^
> > while ($rec = mysql_fetch_object($results))
> > ^
>
> I think $row is more commonly used than $rec. And you have an extra 's' on the
> second $result.