+ 1
how to insert next line in php?
php
5 odpowiedzi
+ 2
<?php
echo "hello".PHP_EOL."world";
//PHP_EOL stands for PHP End Of Line character(\n)
+ 2
I mean line by line. One sentence in one line and the next in the other line
+ 2
thank you
+ 1
keerthy j Use <br> tag
<?php
echo "hello<br>world";
//<br> stands for line break tag