rendered paste body$question[15] = "Picanha, um corte da carne bovina, é um prato tipicamente...";$answer[15][0] = array("Brasileiro", true);$answer[15][1] = array("Português", false);$answer[15][2] = array("Mexicano", false);for($p=0;$p<15;$p++){ echo $question[$p]."<br/>"; for($r=0;$r<3;$r++) { echo $answer[$p][$r][$r]."<br/>"; //the above code will only reference [15][0][0], [15][1][1] and [15][2][2] //you should have something like this: echo $answer[$p][$r][0] ." : " . $answer[$p][$r][1] ."<br />"; } echo "<br/>";}