If we print something using echo, how we can do next line, if we want to print in next line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

If we print something using echo, how we can do next line, if we want to print in next line?

23rd Feb 2016, 12:18 PM
lokendra singh
lokendra singh - avatar
4 Answers
+ 4
You could use <br>: <?php echo "Hello <br>"; echo "World"; ?>
25th Apr 2016, 6:05 PM
Leonardo de Miranda Möers
Leonardo de Miranda Möers - avatar
0
u can use break fr it <br>
11th Jun 2016, 5:36 PM
sameer saxena
sameer saxena - avatar
0
use </br> after the echo
18th Jun 2016, 3:08 AM
saikamal
saikamal - avatar
- 2
In echo you can use html tag </ br>
11th Apr 2016, 1:15 PM
dako77