<?php
echo "xxxxx"." "."****";
?>
Why does this output xxxxxx**** with no space in between
Im using xampp with sublime
Php echo " "; not printing whitespace
Page 1 of 14 Replies - 852 Views - Last Post: 23 September 2016 - 01:18 PM
Replies To: Php echo " "; not printing whitespace
#2
Re: Php echo " "; not printing whitespace
Posted 23 September 2016 - 01:05 PM
You didn't add any spaces in there.. just concatenated a few strings.
#3
Re: Php echo " "; not printing whitespace
Posted 23 September 2016 - 01:08 PM
how do i add a space inbetween?
In other words how do i print a space?
Pls help
In other words how do i print a space?
Pls help
This post has been edited by Dormilich: 26 September 2016 - 12:51 AM
#4
Re: Php echo " "; not printing whitespace
Posted 23 September 2016 - 01:10 PM
Moved to the PHP forum.
#5
Re: Php echo " "; not printing whitespace
Posted 23 September 2016 - 01:18 PM
Put a space before an ending " or concatenate a space in there.. like "asdfasdf"." "."asdfasdfasdf"
Page 1 of 1

New Topic/Question
Reply


MultiQuote







|