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.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
broad-mindedness, n:
        The result of flattening high-mindedness out.
*/


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

Reply via email to