Merge two/few arrays. How?

Author Message

Alexei Pechekhonov

Saturday 17 May 2003 5:51:19 am

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. :(
b. simple concat() completes one string :(
c. new_array=array($one, $second) returns unsuitable array of two arrays :(

Any ideas, please....

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.