Re: Re: PHP in HTML code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/3/18 Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>

>  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.... ?>'; ?>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux