note 44014 added to function.xml-error-string
| From: | jyurkiw at comcast dot net | Date: | Mon, 12 Jul 2004 16:10:23 +0000 |
| Subject: | note 44014 added to function.xml-error-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73102@lists.php.net to get a copy of this message | ||
Playing around with the XML functions, I found that this works to display very basic error messages.
xml_parse($parser, $data, feof($open)) or die(xml_error_string(xml_get_error_code($parser)));
The "or die..." portion is what you would be interested in if you're looking here :)
----
Manual Page -- http://www.php.net/manual/en/function.xml-error-string.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44014
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44014&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44014&report=yes
Search -- http://master.php.net/manage/user-notes.php