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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to