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
Why does php start with variables?
Explain which cryptographic extension provide generation and verification of digital signatures?
What is member function?
How can we set and destroy the cookie in php?
Explain what does the expression exception::__tostring means?
When use javascript vs php?
What is the difference between explode() and split() functions?
Do you have to initialize variables in php?
How many types of array are there in php?
Why php is better?
Explain mail function in PHP with syntax?
How do http requests work?
Is numeric in php?
Does php have a future?
How can I display text with a php script?