What is meant by nl2br()?

Answer Posted / aashish gupta

nl2br is used to convert \n to <br>

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The left association operator % is used in PHP for?

671


Which is incorrect with respect to separating php code and html?

630


Tell me how can we connect to a mysql database from a php script?

587


How to download file in php?

630


What is PHP? Who is the father or inventor of PHP?

698






Is it possible to destroy a cookie?

626


Which software is best for php?

607


What is php sequence?

617


What exactly is validating and sanitizing?

697


Php being an open source is there any support available to it?

658


What type of headers have to be added in the mail function to attach a file?

634


Is php good for career?

619


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

791


Which function would you use to merge two arrays in php?

642


What is the use of isset() in php?

635