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

Is php easier than node?

0 Answers  


Why many companies are switching their current business language to php?

0 Answers  


What is instantiation?

0 Answers  


What are the 5 types of variables?

0 Answers  


Tell me can the value of a constant change during the script's execution?

0 Answers  


How is it possible to set an infinite execution time for php script?

0 Answers  


How many records can be stored in mysql table?

0 Answers  


How do you end a session in php?

0 Answers  


How can we convert asp pages to PHP pages?

3 Answers   Agile Software,


WHat is the diff. between PHP4 and PHP5?

6 Answers   Clarion Technologies, IBM, OmniNet, Sparkton Infotech,


How to access a Static Member of a Class in PHP?

0 Answers  


Where are the session values stored?

1 Answers  


Categories