How can I place last index as first index in an array. Suppose I have an array which looks like this.
Array
(
[0] => ABC
[1] => abc
[2] => rodriguez
[3] => Barkleys, 15 NO.
[4] => A
[5] => 1234567890
[6] =>
[7] => YES
[8] =>
[9] => 1
)
Now I want to show this array like this.
Array
(
[0] => 1
[1] => ABC
[2] => abc
[3] => rodriguez
[4] => Barkleys, 15 NO.
[5] => A
[6] => 1234567890
[7] =>
[8] => YES
[9] =>
)
How can I get this Please suggest.