How can I parse a complex XML with PHP and CDATA?

How can i update the innerHTML of a div when a remote xml file is updated?

  • I have this remote XML file: http://api.own3d.tv/liveCheck.php?live_id=14760 When one of those values gets updated, I want to use some php or javascript or asp code to parse it and update the innerHTML of a div on my site with that value. ALSO i would like it to be live too, as in after the page's initial load i would like it to keep checking and updating the page while the person is on it. how could i do this? source code would be awesome.

  • Answer:

    read up on ajax -- asynchronous requests made by polling a server for results.

Monster at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.