timmy01 Posted May 1, 2006 Share Posted May 1, 2006 Hi,i looking for a simple way to add a comma after each mysql result...so after getting the result from mysql i get this:var1 and var2now, all i want is a way to separate them with a commaso i should look like this:var1,var2 Link to comment https://forums.phpfreaks.com/topic/8806-how-to-add-a-comma/ Share on other sites More sharing options...
ToonMariner Posted May 1, 2006 Share Posted May 1, 2006 if you made an array of results you could use implode(',',$arr); Link to comment https://forums.phpfreaks.com/topic/8806-how-to-add-a-comma/#findComment-32332 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.