How do you make a new line in PHP?

How do you make a new line in PHP?
Answer
Answer: Use the Newline Characters ‘ n ‘ or ‘ rn ‘ You can use the PHP newline characters n or rn to create a new line inside the source code. However, if you want the line breaks to be visible in the browser too, you can use the PHP nl2br() function which inserts HTML line breaks before all newlines in a string.
 

Tìm kiếm

Back
Top