Re: PHP and XHTML
| From: | Jeff Sheltren | Date: | Sat, 26 Jan 2002 23:04:16 +0000 |
| Subject: | Re: PHP and XHTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82253@lists.php.net to get a copy of this message | ||
Hi. Have you tried something like:
<? echo("<? xml version=\"1.0\" ?>\n"); ?>
I've not tried using xml & php, but that may work...
Jeff
----- Original Message -----
From: "Frans Englich" <frans.englich@telia.com>
To: <php-general@lists.php.net>
Sent: Saturday, January 26, 2002 2:53 PM
Subject: [PHP] PHP and XHTML
When I have an <? xml version="1.0" ?> inside my php script it wont work
since
php parses it as php code.
Will short_open_tag = Off solve it? I would really like to use <? ?> for
the
rest of my php code...there must be a better solution than Short_open_tag
regards,
Cyth