Helping ordinary people create extraordinary websites!

Parsing XML using PHP4

By Burhan Khalid
2005-08-16

Parsing XML using PHP4

This tutorial will explain how to parse (that is, read and interpret) information from a XML file using PHP. I will discuss the very basics of XML (mainly structure), and then jump right in to the reading and parsing of XML files. This is not a tutorial on XML itself, just parsing XML with PHP.

First, the pre-requisites. Stuff you will need to ensure you have running.

  • Web server with PHP installed. No special extensions are needed for this tutorial.
  • Ability to save files on the webserver (either upload, or save directly via FTP)
  • A decent text editor. Preferrably one that has syntax highlighting support for PHP



Tutorial pages:


© 2004-2005 Burhan Khalid


 1 Votes

You might also want to check these out:


Leave a Comment on "Parsing XML using PHP4"
You must be logged in to post a comment.

Link to This Tutorial Page!


GET OUR NEWSLETTERS