[PHP] How to implode multi-dimensional arrays?

2002-11-14 Thread René Fournier
The docs don't seem to discuss this... Or maybe I'm looking in the wrong place. Anyway, I want to convert a multidimensional array back to the tab-delimited format it began as (\t separating fields, \n seperating records/rows)... Any ideas??? ...Rene --- René Fournier, [EMAIL PROTECTED]

Re: [PHP] How to implode multi-dimensional arrays?

2002-11-14 Thread Jonathan Sharp
foreach( $array AS $d2 ) { $string .= implode('', $d2) . \n; } -js René Fournier wrote: The docs don't seem to discuss this... Or maybe I'm looking in the wrong place. Anyway, I want to convert a multidimensional array back to the tab-delimited format it began as (\t separating fields, \n

Re: [PHP] How to implode multi-dimensional arrays?

2002-11-14 Thread Jonathan Sharp
Dope...try this instead... foreach ( $array AS $a ) { $string .= implode(\t, $a) . \n; } -js Jonathan Sharp wrote: foreach( $array AS $d2 ) { $string .= implode('', $d2) . \n; } -js René Fournier wrote: The docs don't seem to discuss this... Or maybe I'm looking in the