note 117069 deleted from function.nl2br by salathe
| From: | salathe@php.net | Date: | Fri, 10 Apr 2015 12:56:57 +0000 |
| Subject: | note 117069 deleted from function.nl2br by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202224@lists.php.net to get a copy of this message | ||
Note Submitter: swti6690 at gmail dot com
----
Sometimes, when you utilize PHP to display a ânew lineâ by utilizing \n, then it does not
print a ânew lineâ to the display screen. It may arise problem because if you want to
insert a âline breakâ in PHP, then you will require to print â<br/> âto
the screen alternatively â\nâ. In PHP, the nl2br () feature adds/inserts a âline
breakâ where new line happen in the String. In another way, you can say: â this function
inserts/adds âHTMLâ line breaks before each ânew lineâ in a âstringâ.
http://www.phpandsql.com/blog/php-line-break-to-array/