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 Quote Link to comment Share on other sites More sharing options...
Mchl Posted March 29, 2010 Share Posted March 29, 2010 implode Quote Link to comment 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]; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.