note 117069 added to function.nl2br
| From: | swti6690 at gmail dot com | Date: | Fri, 10 Apr 2015 09:07:08 +0000 |
| Subject: | note 117069 added to function.nl2br | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202223@lists.php.net to get a copy of this message | ||
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/
----
Server IP: 72.52.91.14
Probable Submitter: 122.160.165.76
----
Manual Page -- http://php.net/manual/en/function.nl2br.php
Edit -- https://master.php.net/note/edit/117069
Del: integrated -- https://master.php.net/note/delete/117069/integrated
Del: useless -- https://master.php.net/note/delete/117069/useless
Del: bad code -- https://master.php.net/note/delete/117069/bad+code
Del: spam -- https://master.php.net/note/delete/117069/spam
Del: non-english -- https://master.php.net/note/delete/117069/non-english
Del: in docs -- https://master.php.net/note/delete/117069/in+docs
Del: other reasons-- https://master.php.net/note/delete/117069
Reject -- https://master.php.net/note/reject/117069
Search -- https://master.php.net/manage/user-notes.php