Is there anyone would help me how to write code to display this in php ?
How to add a space in php
Post a Reply
|Oldest Newest Rating|
· May 23, 2015
echo nl2br("One line.\nAnother line.");
The browser output of the code above will be:
So ur problem is solved with the code: \n.
Write \n when u want to paste an enter in your program.