Anyone know of way to convert the characters like linefeed, carrier return, etc.
| From: | Scott Fletcher | Date: | Wed, 23 Jan 2002 20:39:10 +0000 |
| Subject: | Anyone know of way to convert the characters like linefeed, carrier return, etc. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81755@lists.php.net to get a copy of this message | ||
Hi!
Does anyone know how to use the php code to identify the character like
linefeed or carrier return or space, etc.? I'm making a loop to identify
those and replace it with a HTML characters so the data would be HTML
compactible.
For example, replacing the line feed with a "<br>", etc. The only
problem is I can not tell what characters are in there because it is not
readable by the web browser. I hope I explained it clear enough.
Thanks,
Scott