aebstract Posted June 9, 2010 Share Posted June 9, 2010 When you use the limit parameters in an explode function. ex: explode(" ", $something, -3); Is there a way to take your results and merge them to one variable. I'll have different amounts of results randomly. So I could have $var[0] - $var[5] or just $var[0] only. Wanting to turn the entire results range in to one, say just $var Link to comment https://forums.phpfreaks.com/topic/204279-merge-exploded-results/ Share on other sites More sharing options...
kenrbnsn Posted June 9, 2010 Share Posted June 9, 2010 Use implode Ken Link to comment https://forums.phpfreaks.com/topic/204279-merge-exploded-results/#findComment-1069909 Share on other sites More sharing options...
aebstract Posted June 9, 2010 Author Share Posted June 9, 2010 Oh I didn't realize it would work like that, thanks. Link to comment https://forums.phpfreaks.com/topic/204279-merge-exploded-results/#findComment-1069910 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.