I have the following XML output from my website:
<?xml version="1.0" encoding="UTF-8"?>
<result>
<status>0</status>
<item>
<message>OK</message>
<id>123</id>
</item>
</result>
I'd like to grab the value inside <id>
& store in a variable.
Is there a way to do this without using SimpleXML?