I am using php 5.3 but when i try read an xml using xmlparser which shows the error Fatal error: Class 'XMLParser' not found .Please help me to solve this..
A:
This one worked like a charm for me http://www.bin-co.com/php/scripts/xml2array/
Ergec
2010-03-03 12:46:52
How do you know the OP wants to convert XML to an array?
Gordon
2010-03-04 21:46:52
+1
A:
No idea what that "XMLParser" class is supposed to be, doesn't ring a bell. Use SimpleXML instead.
Josh Davis
2010-03-03 13:02:49
A:
Not sure without having seen any of your code, but my assumption is you are using
new XMLParser;
instead of
xml_parser_create();
There is no OO interface to XML Parser to my knowledge.
Gordon
2010-03-03 13:03:58