0

how to go into next line in php ?

i am writing the program using php .. but while using multiple times echo .. all the time it comes in to the same line . i have also tried <br> tag but it doesn't work

31st Mar 2017, 1:25 PM
uzair rashid
uzair rashid - avatar
2 Answers
+ 10
Using \n in PHP creates a newline in the source code, and HTML source code layout is unconnected to HTML screen layout.
31st Mar 2017, 1:45 PM
Dev
Dev - avatar
+ 4
If you start script in console, you need to use \n
31st Mar 2017, 1:55 PM
shaldem
shaldem - avatar