This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Merge two/few arrays. How?

Merge two/few arrays. How?

Merge two/few arrays. How?

Saturday 17 May 2003 2:51:19 pm

I need to merge two arrays into one in template view mode rea. Two simple string arrays were read from ini, and then I'd like to complete one, just both arrays should be included in new one. How I can do that?
a. Simple {set new_arra[]=$:item} inside loop=$first_array doesn't work. sad.gif Emoticon
b. simple concat() completes one string sad.gif Emoticon
c. new_array=array($one, $second) returns unsuitable array of two arrays sad.gif Emoticon

Any ideas, please....

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from