Re: [PHP-WIN] Merging Arrays

2002-02-23 Thread R0bin
im not saying this will work, but on the PHP website it has a print_r ( array ); which prints ever element of an array. " 'apple', 'b' => 'banana', 'c' => array ('x','y','z')); print_r ($a); ?> which will output : Array ( [a] => apple [b] => banana [c] => Array (

[PHP-WIN] Merging Arrays

2002-02-22 Thread W-Mark Kubacki
Hello, I'm trying to merge two multidimensional arrays, but it doesn't work neither with array_merge nor array_merge_recursive. Is there a solution which makes the following problem-script to print every element (and not mergin two existing elements to a new sub-array): - Cod