ecabrera Posted May 18, 2012 Share Posted May 18, 2012 echo $first$last; how would i add a space it comes out like this JoeJackson i want it like this Joe Jackson Quote Link to comment https://forums.phpfreaks.com/topic/262747-spaces/ Share on other sites More sharing options...
TOA Posted May 18, 2012 Share Posted May 18, 2012 Concatenate them: echo $first.' '.$last; Or parse it as a string: echo "$first $last"; Quote Link to comment https://forums.phpfreaks.com/topic/262747-spaces/#findComment-1346690 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.