note 36691 added to faq.html
| From: | email at njschedules dot com | Date: | Sun, 19 Oct 2003 01:13:54 +0000 |
| Subject: | note 36691 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58861@lists.php.net to get a copy of this message | ||
If you try to include an XHTML document in a PHP document, you may be including this:
<?xml version="1.0" encoding="iso-8859-1"?>
which would, of course, be read as PHP code. To avoid this problem, use:
echo "<?xml version=\"1.0\"
encoding=\"iso-8859-1\"?".">"; ?>
Hope I can save you from those nasty warning messages :)
----
Manual Page -- http://www.php.net/manual/en/faq.html.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36691
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36691&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36691&report=yes
Search -- http://master.php.net/manage/user-notes.php