Re: Re: PHP in HTML code
| From: | Jan G.B. | Date: | Thu, 18 Mar 2010 17:09:51 +0000 |
| Subject: | Re: Re: PHP in HTML code | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302979@lists.php.net to get a copy of this message | ||
2010/3/18 Ashley Sheridan <ash@ashleysheridan.co.uk>
> I'd rather have short tags turned off than remember each time that I have
> to keep breaking up the < and ?php before I output it in-case the parser
> gets confused.
>
You don't need to break anything up. It's perfectly valid and without
problems:
<?php echo '<?xml version.... ?>'; ?>