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

Explain what is meant by pear in php?

0 Answers  


if i give Limit for mysql query through php command line script like this for ex. $limit=500; $total_items = 1500; for($start=0;$start<$total_items;){ $command = "/usr/bin/php -q /home/sitename/public_html/admin/feedmanager/test.php feedid ".$_GET['feedid']." start ".$start." end ".$limit ; $start = $start+$limit; $command_result = system($command); } so it's execute command for 3 times so it give limit to sql query but if i have 27000 data so it takes long time? so my question is that is that any way from php command line script that i can use for collect all the data at once?

0 Answers  


Swap two variables value without using third variable in php ?

0 Answers   MCN Solutions,


Does php support polymorphism?

0 Answers  


how to overcome server time behind twleve hours compare to local system time

0 Answers  


How is php different from other languages?

0 Answers  


What is meant by urlencode and urldocode?

2 Answers  


What is $this in php?

0 Answers  


What is the use of post in php?

0 Answers  


How to convert a character to an ascii value?

0 Answers  


Explain setcookie() function in php?

0 Answers  


How to use validations in php?(codelgniter)

2 Answers  


Categories