note 117069 added to function.nl2br

From: 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

« previous php.notes (#202223) next »