what is the best way to retrieve data from other website?

I want to get a table from other website (the table is being updated daily) and I want it to be shown in my website just not in the same arrangement as it has in the original website.So I got the table using curl and strstr() but edit the whole table using string functions just seems pointless. I'm sure there is a much easier way doing this.Maybe there is a way to create the original table in xml format that I'll be able to play with the structure more easily? Thank you very much!
 
Back
Top