php for loop stackoverflow code example Example: php for loop stack overflow for($i = 0; $i < count($nt); $i++) { echo $nt[2][$i]; echo "<br />"; }