+ 1
How to write new line
Echo name Echo age Output Abc20 instead i want Abc 20
10 Answers
+ 3
Echo <br>$name</br>
Echo <br>$age</br>
+ 2
echo "$name <br>";
echo "$age ";
0
echo name echo age
0
echo name echo age
0
echo name echo age
0
use <br>
0
use break tag
0
double quote should be the best choice:
echo "ABC /n 20";
//result:
ABC
20
but single quote can't:
echo 'ABC /n 20';
//result:
ABC /n 20
0
echo $name "</br>" $age;
- 1
You just use âčbrâș tag for new line
Echo "âčbr /âș";