how to display output with spaces and in different lines as if using break in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to display output with spaces and in different lines as if using break in html

20th Jul 2016, 6:44 PM
Rishi
3 Answers
0
html Tags work fine in php strings. because everything not useful or known to the parser will be forwarded raw to the html interpreter and it will Format the strings as you defined in the string.
21st Jul 2016, 1:24 AM
Steven
Steven - avatar
0
Echo "This is<br>New line";
21st Jul 2016, 8:59 AM
GlennV
0
database
25th Aug 2016, 2:33 PM
Sajeed Minivadiya
Sajeed Minivadiya - avatar