Re: [PHP] multiarray

2003-03-05 Thread Jason k Larson
This would do the trick. It's untested, but looks right to me. // flatten source_array to destination_array foreach ($source_Array as $key => $value) { if (!is_array ($value) && $key === 'code') { $destination_Array[] = $value; } else {

[PHP] multiarray

2003-03-05 Thread Konference
Hi all, i have o question, is there some solution how to make from multi-array no-multi-array? :) i need to make from multi-array this array: $pole[] => "gk" $pole[] => "gk-ati" $pole[] => "gk-nvi" $pole[] => "gk-mat" thank you for all advices! multi-array: --- array(2) { ["code