how can I start my new echo statement with new line ?? wht is the keyword for separating both lines ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I start my new echo statement with new line ?? wht is the keyword for separating both lines ??

how can I start my new echo statement with new line ?? wht is the keyword for separating both lines ??

26th Jul 2016, 5:30 AM
sameer rj
sameer rj - avatar
4 Answers
+ 5
you can write: echo "First <br> Second";
26th Jul 2016, 6:57 AM
Damian Sośnicki
Damian Sośnicki - avatar
+ 1
you can use <?php echo "some text <br/> next line"; ?>
18th Aug 2016, 4:40 AM
Vijay Vimal
Vijay Vimal - avatar
0
use break for single line <br />
3rd Aug 2016, 5:32 PM
Rounak Paul
Rounak Paul - avatar
0
<?php echo "php<br />"; echo "program"; ?> or <?php echo "<p>php</p>"; echo "program"; ?>
6th Aug 2016, 7:28 PM
jes