gerkintrigg Posted December 2, 2006 Share Posted December 2, 2006 How can i get a string like this:item1, item2, item3, item4into an array!? I forgot how to do it and can't find the answer anywhere.thanks. Link to comment https://forums.phpfreaks.com/topic/29259-string-to-array/ Share on other sites More sharing options...
artacus Posted December 2, 2006 Share Posted December 2, 2006 explode(',',$string); Link to comment https://forums.phpfreaks.com/topic/29259-string-to-array/#findComment-134122 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.