Example, I have:
$matriz = array("Tomate", "Morango", "Melancia");
I would have:
(
[0] => Tomate
[1] => Morango
[2] => Melancia
)
But if I do:
unset($matriz[0]);
I'll have:
(
[1] => Morango
[2] => Melancia
)
How to automatically sort them back from 0
(
[0] => Morango
[1] => Melancia
)