Including text with PHP and keeping blanks
| From: | Fredrik Fornwall | Date: | Mon, 16 Jun 2003 22:22:52 +0000 |
| Subject: | Including text with PHP and keeping blanks | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151744@lists.php.net to get a copy of this message | ||
Hello!
I am just wondering if there exist some built-in function in PHP to include text files in HTML while retaining blank spaces and tabs. While I have found some text to HTML converting scripts I would prefer to let PHP format the text while including it into a web page, instead of creating a separate file first. Any suggestions?
Thanks,
Fredrik