Re: <?xml version="1.0"?> & PHP
| From: | trogers | Date: | Tue, 10 Apr 2001 03:29:47 +0000 |
| Subject: | Re: <?xml version="1.0"?> & PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47930@lists.php.net to get a copy of this message | ||
Hi
I do it this way:
<?
echo '<?xml version="1.0"?>' ;
?>
must use single quotes
Tom
At 04:38 PM 9/04/01 -0400, Gary wrote:
Hi All, When using the dtd below on a page that has a form with php. I get a parser error for <?xml version="1.0"?> am I going to have to go back to a HTML 4.01 dtd or can I do something like escape the ? ? <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net