> $sql2_results = mysql_fetch_array($top_level);
I guess this must be in a loop otherwise your $sq12_results keep getting
overwitten; thus,
the last record will be shown at the end.
> $query_sql2_rows = mysql_num_rows($top_level);
>
> echo $query_sql2_rows;
> // echo's 2 rows
>
> print " cell
gt; for ($counter=0; $counter < $query_sql2_rows; $counter++) {
> $tabledata = mysql_fetch_array($top_level);
> echo "$tabledata[0]";
> echo "$tabledata[6]";
> echo "$tabledata[2]";
> echo "$tabledata[3]";
> e
;
}
print "";
-Original Message-----
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 3:34 PM
To: Steve Gaas
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL and Array's REALLY simple question but I'm not
GETTING it .. Ugh..
Well, when you
3 matches
Mail list logo