Hi All,

I have sent a GET request to a third party and it has responded with XML.

I would like to know how to extract the information from that response and convert it into a standard php variable.

<GetGuidResult>
<ErrorNumber>0</ErrorNumber>
<ErrorMessage/>
<Guid>40d505ba438049a68eafc9a95e7fefcf</Guid>
</GetGuidResult>

Recommended Answers

All 2 Replies

Hi,

Thanks for your response.

In the end i used curl to get the information and then used getElementById to transfer the item into a php variable

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.