<?php header("Content-type: text/html; charset=utf-8"); $team = array("ブラジル","イタリア","アルゼンチン","フランス"); for($cnt = 0; $cnt <= 3; $cnt++){ echo $team[$cnt] . "<br>"; } echo "<br>"; $teamarea = array( array("ブラジル","南米"), array("イタリア","ヨーロッパ"), array("アルゼンチン","南米"), array("フランス","ヨーロッパ") ); for($cnt = 0; $cnt <= 3; $cnt++){ for($ary = 0; $ary <= 1; $ary++){ echo $teamarea[$cnt][$ary] . "<br>"; } } ?>