Re: php eating carriage returns?
| From: | Monte Ohrt | Date: | Fri, 26 Jan 2001 16:31:18 +0000 |
| Subject: | Re: php eating carriage returns? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45053@lists.php.net to get a copy of this message | ||
Got it. This is just causing problems with a templating system
we're working on. E-mail templates are not coming out as expected.
We'll work around it :)
Cynic wrote:
>
> yes, this is as per the manual. the (optional) newline after
> a closing PHP tag ( ?> ) is considered to be a part of the
> tag, and is removed from the output.
> use
> <? print "testing1\n"; ?>
> <? print "testing2\n"; ?>
> <? print "testing3\n"; ?>
> or
> <? print "testing1"; ?>
>
> <? print "testing2"; ?>
>
> <? print "testing3"; ?>
>