Re: Re: Including text with PHP and keeping blanks
| From: | Fredrik Fornwall | Date: | Tue, 17 Jun 2003 00:16:21 +0000 |
| Subject: | Re: Re: Including text with PHP and keeping blanks | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151760@lists.php.net to get a copy of this message | ||
Hugh Bothwell wrote:
I did not know about the <pre> tag, but this was what I needed (and yes, I only really care about indenting)!. Fredrik.echo "<pre>$mytext</pre>"; // ;-)Unless you are going to render to a fixed-width font, your spacing will suffer anyway... or do you only care about left-hand spaces, ie for indenting? Thanks!