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()?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a helper function?

950


What is the use of is_array() and in_array()?

1012


What are static variables in php?

1014


Explain the difference between require() and require_once()?

962


Which function is used in php to check the data type of any variable?

953


What is interface? Why it is used?

1031


How to copy a file?

1069


Why do you need to filter out empty files?

918


How can I convert ereg expressions to preg in php?

980


What is the use of curl()?

1065


How to enable parsing?

1060


What the use of var_dump()?

1041


Do you know how can php and html interact?

999


Define urlencode() and urldecode() used in php?

1188


how to use http headers inside php? Write the statement through which it can be added?

1023