Insert new array after specific key in multidimensional array
| From: | Micky Hulse | Date: | Tue, 28 Feb 2012 02:12:16 +0000 |
| Subject: | Insert new array after specific key in multidimensional array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-316782@lists.php.net to get a copy of this message | ||
Howdy!
Example code:
<https://gist.github.com/1928452>
What would be the best way to insert $o_insert array into $o array
after specified key?
I hate to just ask for example code, but I can't seem to find the
perfect solution. :(
Many thanks in advance for the help!
Cheers,
Micky