|
Posted by Maximus on 07/02/06 13:26
But the while($row=mysql_query($sql)) {
}
is giving me some infinite loop, the whole pc would freeze as the
script won't stop
any solution? or explanation
Geoff Berrow wrote:
> Message-ID: <1151836878.677813.324590@b68g2000cwa.googlegroups.com> from
> Maximus contained the following:
>
> >Now after doing the query, i need to echo it's results in 3 different
> >tables, 1 big, and 2 small below the big one.
> >
> >how can i do that?
>
> while($myrow=mysql_query($sql){
> $table[]=$myrow;
> }
>
> $table is then an array containing your three rows
> ($table[0],$table[1],$table[2]).
>
> Loop through it using foreach to extract the data any way you choose.
>
> --
> Geoff Berrow (put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|