note 44014 deleted from function.xml-error-string by tomsommer
| From: | tomsommer@php.net | Date: | Mon, 12 Jul 2004 16:19:25 +0000 |
| Subject: | note 44014 deleted from function.xml-error-string by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73104@lists.php.net to get a copy of this message | ||
Note Submitter: jyurkiw@comcast.net
----
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 :)