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

What is list function with their uses.

533


What type of errors can be occurred in php?

560


What is the use of addslashes in php?

528


Explain the ternary conditional operator in php?

603


Do I need to install php after xampp?

539






What is difference between require_once(), require(), include()?

518


List functions available to sort an php array?

549


Tell me how can we change the maximum size of the files to be uploaded?

552


How to create database connection and query in php?

575


Where can I learn php?

534


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

516


What is array function in javascript?

511


Tell me what is the use of mysql_real_escape_string() function?

541


What is array filter in php?

557


How can you upload a file using php?

553