Posted by monomaniac21 on 08/15/06 08:51
hi all
im querying a db for two rows which are always returned. how can i
reference each row and output its contents without using a while loop.
ive tried:
$row = mysql_fetch_array($result);
extract $row;
echo $var1[0]; //var 1 of row 0
echo $var1[1]; //var 1 of row 1
but this doesnt seem to be working?
kind regards
Marc
[Back to original message]
|