note 21802 deleted from function.file by nlopess
| From: | nlopess@php.net | Date: | Thu, 15 Jan 2004 17:08:05 +0000 |
| Subject: | note 21802 deleted from function.file by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63633@lists.php.net to get a copy of this message | ||
Note Submitter: andre@urbanbuffalo.com
----
You can always directly insert a carriage return and line feed:
chr(13).chr(10)
Seems to work fine for me. Remember to use them together as some text readers wont recognise these
separately. e.g. chr(13) (carriage return) in some cases will display an invalid character at the
point where you wanted a new line. Adding chr(10) solves this.
I find it handy to make it a global var.
I know it's small but hopefully this helps someone who has to develop script for a few
different platforms. It helps me.
Cheers.