Answer Posted / sreedevi
returns a string with " inserted before all newlines
nl2br() inserts html in string
ex:
echo nl2br("God bless\nu");
output:
God bless
u
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is encapsulation in php with example?
What are the advantages of triggers in php?
What is mysql in php?
What is $_session in php?
What is x+ mode in fopen() used for?
What is the difference between explode () and split () functions in php?
What is memcache?
What is the difference between get and post method in php?
How to enable error reporting in php?
How does php work?
Explain the importance of the function htmlentities.
Is php free to use?
How to open a file for reading?
How to create an array from php string?
What is a definer in mysql?