Can anyone plese tell me the PHP4 equivalent of the code below:
$result is my string returned from a server which contains XML that I need to parse.
Code: Select all
$xml = simplexml_load_string($result);
$xml = new SimpleXMLElement($result);
print "ErrorMessage ";
print ($xml->TxResponse[0]->ErrorMsg);I'd really appreciate any help.
regards,
Kimberly