Menu
I am running a mysql query with the code below but i cannot get the results from multiple rows in a table.
I echo the results and all i get is Array. Help will be appreciated. Thank you
The $row should echo all the fields under code1 in the table.
Thank you
[code=php]mysql_connect(‘localhost’, ‘u’, ‘C’);
mysql_select_db(‘u’);
//
$result = mysql_query(“SELECT code1 FROM codes”)
or die(mysql_error());
$row = mysql_fetch_assoc($result);
echo (“<center> <font color=#FF0000 face=Verdana size=2><b>$row</b></font>”);