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 are php magic methods/functions?
What is the use of strip_tags() method?
What is php explain how php works?
Is multilevel inheritance possible in php?
Why php language is used?
What is printf in php?
How variables are passed through arguments?
How php statement is different from php script?
What is good average session duration?
What is __ invoke in php?
Explain $_FILES Superglobal Array?
How to execute an sql query? How to fetch its result?
How to uploaded files to a table?
Do you know what is php?
What is a query in php?