Re: sort in while(list($vars) = mysql_fetch_row($result))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Verdon Vaillancourt wrote:

> Thanks for the input. The only reason is that I'm inheriting this
> from someone else and am asked to do a 'quick' fix to get it working
> again. The whole script is a little kludgy and it may be better to
> redo it. Is there anything fundamentally wrong with the while(list())
> approach, or is it just messy?

I'd normally use $row=mysql_fetch_row() or more often
$row=mysql_fetch_assoc(), but I actually quite like the
list()=mysql_fetch_row() approach.  


/Per Jessen, Zürich

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux