Originariamente inviato da tizyjayd
codice:
$pieces = explode("|", $last_v);
array_reverse($pieces);
print_r($pieces);
mi stampa l'array nell'ordine originale
array_reverse( ):
Takes an input array and returns a new array with the order of the elements reversed.
quindi:
Codice PHP:
$pieces explode("|"$last_v);
$pieces_reverse array_reverse($pieces);
print_r($pieces_reverse);