note 117823 added to tutorial.firstpage

From: Date: Fri, 14 Aug 2015 15:12:18 +0000
Subject: note 117823 added to tutorial.firstpage
Groups: php.notes 
Request: Send a blank email to php-notes+get-203346@lists.php.net to get a copy of this message
/n - will not work to display new line in browser. instead, use <br> tag or function nl2br(). example are given bellow: <?php echo "this is first line. <br> this is second line"; echo nl2br("this is first line. \n this is second line"); echo nl2br("this is first line" . PHP_EOL . " this is second line"); ?> N.B. : use \n in double quote instead of single quotation mark. ---- Server IP: 72.52.91.14 Probable Submitter: 151.225.158.222 ---- Manual Page -- http://php.net/manual/en/tutorial.firstpage.php Edit -- https://master.php.net/note/edit/117823 Del: integrated -- https://master.php.net/note/delete/117823/integrated Del: useless -- https://master.php.net/note/delete/117823/useless Del: bad code -- https://master.php.net/note/delete/117823/bad+code Del: spam -- https://master.php.net/note/delete/117823/spam Del: non-english -- https://master.php.net/note/delete/117823/non-english Del: in docs -- https://master.php.net/note/delete/117823/in+docs Del: other reasons-- https://master.php.net/note/delete/117823 Reject -- https://master.php.net/note/reject/117823 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203346) next »