FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Inserting into associative array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Inserting into associative array [message #169928 is a reply to message #169905] Thu, 30 September 2010 12:17 Go to previous messageGo to previous message
Jonathan Stein is currently offline  Jonathan Stein
Messages: 43
Registered: September 2010
Karma:
Member
Den 29-09-2010 23:07, Hamish Campbell skrev:

> function array_insert(&$arr, $data, $pos) {

Thank you for your suggestion. If the number of elements is fixed, it's
a bit more elegant than looping through the array.

Regards

Jonathan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP 5.3.3 Crashes on Win7
Next Topic: Dot in array key name
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 20:27:33 GMT 2024

Total time taken to generate the page: 0.03924 seconds