note 35630 deleted from function.chr by danbrown

From: Date: Wed, 15 Sep 2010 21:17:51 +0000
Subject: note 35630 deleted from function.chr by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172607@lists.php.net to get a copy of this message
Note Submitter: loremaster ---- 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.

« previous php.notes (#172607) next »