Re: [PHP] Re: PHP in HTML code

[email protected] ("Jan G.B.")
Newsgroups php.general
Message-ID <[email protected]>
2010/3/18 Ashley Sheridan <[email protected]>

>  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.... ?>'; ?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.