I'm trying to get some information (itemID, title, price and mileage) for multiple listings from eBay website using their api. So far I got this up
I've saved the document as .xml file using PHP cUrl and now I need to get/extract the values(itemID, title, price and mileage) into arrays and store them in database.
Unfortunately I never worked with PHP DOM, and I can't figure out how to extract the values. I tried to follow the tutorial found on IBM website but I had no success. Some help would be highly appreciated.
simplexmlis the easiest way of extracting XML data in PHP: php.net/simplexml_load_file