Posts by Luis Costa • 1 point
1 post
-
0
votes2
answers235
viewsA: Matrix 3x3 in PHP, how to show only the elements of the tips
You can use the functions reset() and end(), this way a new matrix will be created with the first and last element of the main matrix. Using the foreach() you will read all the contents of the new…