what is nl2br?

Answer Posted / abhay

nl2br is use t for new line,\
ex:echo nl2br("this is \n ddd");

output
this is
dd

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a php script in windows?

541


How many escape sequences are recognized in single-quoted strings?

481


What is php.ini & .htacess file?

524


What are the __construct() and __destruct() methods in a php class?

506


Where can I learn php?

525






Can php run without apache?

540


Is laravel an oop?

503


What is the use of header in php?

524


How can I use single quotes in single quotes in php?

452


Tell me how to find current date and time?

537


Is a number php?

523


Is laravel easy to learn?

515


What is query string php?

533


What is empty php?

484


Tell us how to set cookies in php?

529