can anbody help cannot get an array to go across in cols rather than down in rows am new to php driving me nuts please help here is a sample where am i going wrong.
<?
include('config.php');
//Open Connection to database
$db = mysql_connect("$hostname", "$username","$password");
mysql_select_db("$database",$db);
?>
<?
$result = mysql_query("SELECT * FROM models", $db);
while($myarr=mysql_fetch_array($result))
for($i=0;$i<4;$i++)
for($j=0;$j<4;$j++)
echo $myarr[$i]."<br>";
?>