Foreach Schleife:

<?php
print("<table>");
foreach($computer as $key => $wert){
	print("<tr><td>".$key."</td><td align=right>".$wert."</td></tr>");
}
print("</table>");
?>

Ausgabe

IBM 2318
Acer 679
Greenline 790
Siemens 0