while($i < count($array)){
echo $array[$i];
$i = $i+1;
}

連想配列の場合、上みたいなのってどうやってやるのでしょうか?
foreach?