Re: include XHTML document

From: Date: Mon, 24 Sep 2001 15:11:22 +0000
Subject: Re: include XHTML document
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68514@lists.php.net to get a copy of this message
You have to echo it. notice the single quotes. <?php echo '<?xml version=/"1.0/"?>' ?> Gary Cweiske wrote:
Hi 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 <?. Is there a way to work around? I by myself would appreciate if php commands would always start with <?php and the <? would be irgnored in future. Christian Weiske <<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Christian Weiske, RealDreams
     cweiske@cweiske.de
       www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Always forgetting birthdays? Try RealDreams birthday reminder! http://www.cweiske.de/index.php3?goto=birthday


« previous php.general (#68514) next »