php: Insert element at specific Index of Array.
January 11, 2009 in PHP
In a recent project I’ve been undertaking I’ve made a menu class set and sometimes i just wanted to say to add this to an array, but in a certain position. PHP does this easily via $array[position] = "newdata"; But unfortunately this is not so good if you only wanted to insert the newdata into [...]