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 / gunjan

nl2br is used to convert \n to <br>

Is This Answer Correct ?    15 Yes 1 No

What is meant by nl2br()?..

Answer / sonal

Returns string with '<br />' inserted before all newlines.

Is This Answer Correct ?    11 Yes 1 No

What is meant by nl2br()?..

Answer / ram

The nl2br() function inserts HTML line breaks (<br />) in
front of each newline (\n) in a string
Syntax: nl2br(string)
<?php
echo nl2br("One line.\nAnother line.");
?>
output: One line.
Another line.

Is This Answer Correct ?    11 Yes 1 No

What is meant by nl2br()?..

Answer / aashish gupta

nl2br is used to convert \n to <br>

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the use of die in php?

0 Answers  


How to create an array of a group of items inside an html form?

0 Answers  


Is laravel an oop?

0 Answers  


How many different types of messages available in php?

0 Answers  


Why should I store logs in a database rather than a file?

0 Answers  


Difference between mysql_connect and mysql_pconnect?

0 Answers  


What is the meaning of ‘escaping to php’?

0 Answers  


What is the maximum size of a file that can be uploaded using PHP and how can we change this?

4 Answers  


How many ways are there for passing variables between pages in PHP and what are they ?

10 Answers  


How can I make a script that can be bilanguage (supports English, German)?

3 Answers  


what is difference between PHP4 , PHP5

0 Answers   Net Solution,


What is curl php?

0 Answers  


Categories