Page 1 of 1

Arrays to strings

Posted: Thu Jun 19, 2003 5:38 am
by berniecc
I'm a newbie in PHP. I'd ike to know how to get an string of values separated by commas from an array.

Thanx.
Bernie.

Posted: Thu Jun 19, 2003 5:46 am
by Wayne
$str = implode (",", $array);