[thelist] Re: php mysql ORDER BY]
Lachlan Cannon
luminosity at members.evolt.org
Tue Jan 14 06:37:01 CST 2003
Lachlan Cannon wrote:
> $array = mysql_fetch_array($random);
> $nums = implode(',',$array);
> ...
Sorry.. that was wrong.
while ($array = mysql_fetch_array($random)) {
$nums[] = $array['quizid'];
}
$nums = implode(',',$nums);
Also to save whoever else is going to pipe up with it the effort, you
should really explicitly name the fields you want, rather than using *.
HTHTT (hope this helps this time)
--
Lach
__________________________________________
Web: http://illuminosity.net/
E-mail: lach @ illuminosity.net
MSN: luminosity @ members.evolt.org
__________________________________________
More information about the thelist
mailing list