Menu
Hello. Here is my code:
[code]
<!DOCTYPE html>
<html>
<head>
<title>hey I am a title</title>
</head>
<body>
<?php
$matrix=array(
array(1,2,3),
array(4,5,6),
array(7,8,9)
);
function writeMatrix(){
for($i=0;$i<=2;$i++){
echo “xA”;
for($j=0;$j<=2;$j++){
echo $matrix[$i][$j].” “;
}
}
}
writeMatrix();
//echo $matrix[1][1];
?>
</body>
</html>
Could you please help me to find a mistake? The code doesn’t output anything. Thank you.