hi,
Ok here's the deal. I'm selecting 3 fields from a db in my array.
$gettop2=mysql_db_query("webchat","SELECT nick,haspicture,views FROM chatters",$dbi);
while ($row[] = mysql_fetch_array$gettop2))
{ // Just fill the array
}
I know it's filled because I used the print_r($row);
The results show up like this:
Array ( [0] => Array ( [0] => Wedlock [nick] => Wedlock [1] => 1 [haspicture] => 1 [2] => 278 [views] => 278 ) [1] => Array ( [0] => lilou [nick] => lilou [1] => 1 [haspicture] => 1 [2] => 38 [views] => 38)
etc.
How can I echo/print the values of the array?
I tried:
echo $row["nick","haspicture","views"];
echo $row[$randomvalue];
Yes I searched the forum for some answers:/
Thnx in advance.
-Jonathan