What is meant by nl2br()?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / deepak b
The Answer is :
New Line to Html Brake <br>
function void nl2br(text,isXHTML)
if you are using xhtml then
nl2br(text,true) then function insert <br />
else
nl2br(text,false) then <br>
Enjoy..... My Friend.
| Is This Answer Correct ? | 1 Yes | 2 No |
How to get tabels from database in php andd display it in the table form using codelgniter? plz help me
code to see the priview of the image which is being uploaded (after browising the image... just click priview ... how it will be visible...before uploading)
what is the maximum size of databasi in mysql?
How we load all classes that placed in different directory in one php file , means how to do auto load classes.
What is meant by nl2br()?
4 Answers Rushmore Consultancy,
Which function gives us the number of affected entries by a query?
Is php a low level language?
how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question
What are string functions?
What does the unlink() function means?
When is a conditional statement ended with endif?
What does echo mean in php?