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

From: Date: Wed, 27 Feb 2008 15:47:04 +0000
Subject: Re: sort in while(list($vars) = mysql_fetch_row($result))
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-270313@lists.php.net to get a copy of this message
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

« previous php.general (#270313) next »