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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me is it possible to protect special characters in a query string?

908


What is xss in php?

1002


Is php used anymore?

969


List data types in PHP?

1027


How to replace a text in a string with another text in php?

974


How I can control asset documents without GR/IR?

1628


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

923


What is __ invoke in php?

986


Tell me what are sql injections, how do you prevent them and what are the best practices?

923


What is php in full?

938


What is the most convenient hashing method to be used to hash passwords?

1010


Is uploaded file php?

946


Is php a backend?

972


What is abstract class in php?

1022


Can age be a variable?

926