I have a multidimensional array like this:
// Create an empty array
$noti_log = array();
// Add first array within a multidimensional array
$noti_log = array(
array('hello world')
);
And then, when I want to add a new array inside, I do:
$noti_log[] = array('Greetings');
The problem is that whenever I add a new array, it ends up underneath the old ones. Instead, I want new arrays to line up on top of the old ones.
So in this case, array('Greetings')
should be on top of array('hello world')
...
How do I add new arrays that land on top?