InterviewSolution
Saved Bookmarks
| 1. |
How to get elements in reverse order of an array in php? |
|
Answer» For this we can use array_reverse() function. Example$array = array("1"=>"BEST","2"=>"Interview","3"=>"Question"); // OUTPUT Array ( [3] => Question [2] => Interview[1] => Best) |
|