hackalive Posted March 29, 2010 Share Posted March 29, 2010 hi guys how do I join an array such as $array[0] = "me", $array[1] = "you" into a single string so $string = meyou ? All help is much appreciated Link to comment https://forums.phpfreaks.com/topic/196860-array/ Share on other sites More sharing options...
Mchl Posted March 29, 2010 Share Posted March 29, 2010 implode Link to comment https://forums.phpfreaks.com/topic/196860-array/#findComment-1033463 Share on other sites More sharing options...
andrewgauger Posted March 29, 2010 Share Posted March 29, 2010 Also, It might be simpler to just cat (depending on how scalable you want the implementation): $string=array[0].array[1]; Link to comment https://forums.phpfreaks.com/topic/196860-array/#findComment-1033555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.