I have an object with a function that parses XML.

Inside this function I have my functions startElement, endElement and characterData.

Inside characterData I need to access call a function of the class that has the parseXML function. However I get this error when I run it:

Fatal error: Call to a member function on a non-object in c:\site\rset.php on line 51

Does anyone know a fix for this? Thanks in advance for any help.

    Better post some code. PHP does not support having functions inside of functions.

      Write a Reply...