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

write a program to print [123] [456] [789] note : braces also need to be printed

2 Answers   Net Solution,


Whether site will complete the execution of the script if Fatal error occurs ?

1 Answers  


What is the purpose of a query?

0 Answers  


How long is csrf token?

0 Answers  


What is file upload?

0 Answers  


Which is not a php magic constant?

0 Answers  


What is dao in php?

0 Answers  


How do you define a constant in php?

0 Answers  


How to get tabels from database in php andd display it in the table form using codelgniter? plz help me

2 Answers  


How cookies are transported from servers to browsers?

0 Answers  


Write a php script to get the largest key in an array?

0 Answers  


What is faster?

0 Answers  


Categories