Reply to array merge problem

Your name:

Reply:


Posted by Ahmed Abdel-Aliem on 10/10/07 11:25

i have the array with the following structure :

Array
(
[19] => 20.00
[25] => 20.00
[7] => 30.00
[17] => 30.00
)

when i merge a field to it using array_merge
it returns that :

Array
(
[0] => 20.00
[1] => 20.00
[2] => 30.00
[3] => 30.00
[4] => 200.00
)

how can i merge the field without losing the original keys ?
can anyone help me with that plz
thanks in advance

--
Ahmed Abdel-Aliem
Web Developer
www.SafariStudio.net
+20101108551
registered Linux user number 382789

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация