182x Posted July 20, 2007 Share Posted July 20, 2007 Hey guys just wondering when displaying the following information how to I put a space between them? I have tried ' ' and .' '. but none of these work. Thanks, <?php echo $rowU1['username'], $rowU1['firstName']; ?> Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 20, 2007 Share Posted July 20, 2007 heres a few <?php echo $rowU1['username'].", ".$rowU1['firstName']; ?> <?php echo "{$rowU1['username']}, {$rowU1['firstName']}"; ?> <?php echo $rowU1['username']; echo ", "; echo $rowU1['firstName']; ?> <?php $un =$rowU1['username']; $fn =$rowU1['firstName']; echo "$un, $fn"; ?> Quote Link to comment Share on other sites More sharing options...
182x Posted July 20, 2007 Author Share Posted July 20, 2007 Thanks 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.