How to save simplexml node value to string?

teresatehran

New Member
I am trying to get a value in a node, and save it into a string variable. I haven't used PHP in about 5 years so I have no idea what is going on?\[code\]string $errorMessage = (string)$error->message);print_r($errorMessage);\[/code\]returns nothing
 
Top