converting to a variable
Posted: Thu Aug 04, 2005 4:09 pm
I haven't exactly cracked the XML barrier yet...
If I've got a URL that will spit out XML for me... how can I put the data between the <tags> into a variable to be used in the rest of my php script? The var I want is in the middle of the XML code.
example:
// bunch of XML code
<tag_im_looking_for>Var I need</tag_im_looking_for>
// rest of XML
thanks
If I've got a URL that will spit out XML for me... how can I put the data between the <tags> into a variable to be used in the rest of my php script? The var I want is in the middle of the XML code.
example:
// bunch of XML code
<tag_im_looking_for>Var I need</tag_im_looking_for>
// rest of XML
thanks