Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is meant by nl2br()?

Answers were Sorted based on User's Feedback



What is meant by nl2br()?..

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

What is meant by nl2br()?..

Answer / umapathi

next line to break tag

Is This Answer Correct ?    11 Yes 2 No

What is meant by nl2br()?..

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

Post New Answer

More PHP Interview Questions

What is php pathinfo?

0 Answers  


How many Types of COmments are there in PHP and what are they?

4 Answers  


!== represents what?

2 Answers  


In How many ways can u represent Not equal?Give Syntax of all ways..

3 Answers  


What is the use of trim function in php?

0 Answers  


How do you connet mysql database with php?

0 Answers  


What is the difference between get and post method in php?

0 Answers  


What is register_globals in php?

6 Answers   Castling IT, HCL, Intel Soft Solutions, Millennium,


What is inheritance in php with example?

0 Answers  


What are the Formatting and Printing Strings available in PHP?

0 Answers  


What is final class and final method?

0 Answers  


What are the string functions in php?

0 Answers  


Categories