Re: Insert new array after specific key in multidimensional array

From: Date: Tue, 28 Feb 2012 22:05:13 +0000
Subject: Re: Insert new array after specific key in multidimensional array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-316790@lists.php.net to get a copy of this message
On Mon, Feb 27, 2012 at 9:12 PM, Micky Hulse <mickyhulse.lists@gmail.com>wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Out of curiosity, why are you worried about the order of elements in an associative array? Thanks, Adam -- Nephtali: A simple, flexible, fast, and security-focused PHP framework http://nephtaliproject.com

« previous php.general (#316790) next »