How to Parse XML Using PHP

Jen Fletcher has posted a very helpful tutorial that will teach you How to Parse XML Using PHP.

Although this isn’t the only way to parse XML with PHP, this is a good example. What I like about this example is that she shows you how to create a form and code that works with Amazon’s web services. The form will query Amazon, retrieve the XML data, parse the results, and then display them in a nicely formatted table.

For those like me, I would modify the table output to use a CSS layout rather than a table. It’s important to not that to use this example you’ll need to get an Access Key ID from Amazon which you can easily do here.

This entry was posted on Saturday, January 6th, 2007.
You can leave a comment, or trackback from your own site.

No Comments Yet

You can be the first to comment!

Leave a comment