Arrays to strings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
berniecc
Forum Newbie
Posts: 5
Joined: Thu Jun 19, 2003 5:38 am
Contact:

Arrays to strings

Post 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.
User avatar
Wayne
Forum Contributor
Posts: 339
Joined: Wed Jun 05, 2002 10:59 am

Post by Wayne »

$str = implode (",", $array);
Post Reply