Re: include XHTML document
| From: | Tim | Date: | Mon, 24 Sep 2001 13:03:10 +0000 |
| Subject: | Re: include XHTML document | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68508@lists.php.net to get a copy of this message | ||
On Mon, 2001-09-24 at 08:04, cweiske wrote:
> I wrote my new page in XHTML 1.0, split it and wanted to include the top
> part of the file with the include( "page_top.htm").
> The problem is, that the valid XHTML document has to begin with
> <?xml version="1.0" encoding="iso-8859-1"?>
>
> The problem now is, that <? is interpreted as a begin of php commands.
> I for myself use <?php when starting commands, but the compiler also use <?.
Look in the manual sections on php.ini and the short_tags feature. That
option controls the interpretation of the <? tag.
- Tim