Re: XHTML and PHP
| From: | Matt Greer | Date: | Sat, 29 Sep 2001 18:43:49 +0000 |
| Subject: | Re: XHTML and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69307@lists.php.net to get a copy of this message | ||
On Saturday 29 September 2001 13:13, Navid Yar wrote:
> That approach doesn't work. It treats the string literally and prints:
>
> <? echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
> ?> in the HTML.
>
Change it to
<?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
?>
Matt