note 35630 added to function.chr

From: Date: Tue, 09 Sep 2003 05:27:07 +0000
Subject: note 35630 added to function.chr
Groups: php.notes 
Request: Send a blank email to php-notes+get-55871@lists.php.net to get a copy of this message
Re: Kristin: Line feed vs carriage return I may be wrong, it's been a while since I cared about the difference. Line feeds add a new line below the current carriage position and moves the carriage to it. Carriage return brings the carriage (or cursor, if you like) to the beginning of the line. Most mutliline text fields, when you press Enter, you get both a line feed (new line) and a carriage return (return). Typically I use the strtr function and replace "\n\r" rather than searching for ascii 13 and 10. There are many ways, of course, so your mileage may vary. ---- Manual Page -- http://www.php.net/manual/en/function.chr.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35630 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35630&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35630&report=yes

« previous php.notes (#55871) next »