Re: [PHP] imploding a multi-dimensional array

2004-06-03 Thread John W. Holmes
From: "Tom Wuyts" <[EMAIL PROTECTED]> > I want to implode a multi-dimensional array into 1 string. Any reason you need to implode() instead of serialize() the array? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imploding a multi-dimensional array

2004-06-03 Thread Tom Wuyts
Hi, I want to implode a multi-dimensional array into 1 string. I use the next code to put it into the array: $spots = Array(); $rows = explode( "@", $row['spots'] ); foreach( $rows as $rij ) { $spots[] = explode( "&", $rij );