Skip to Main Content
PHP and MySQL™ Phrasebook
book

PHP and MySQL™ Phrasebook

by Christian Wenz
October 2012
Intermediate to advanced content levelIntermediate to advanced
360 pages
4h 57m
English
Addison-Wesley Professional
Content preview from PHP and MySQL™ Phrasebook

10. Using XML

After the hype, the Extensible Markup Language (XML) is now really used almost everywhere. An application that receives a lot of buzz is Web Services, a technology that is covered in detail in Chapter 9, “Working with Other Databases.” However, XML can be used elsewhere, as well. It is a good format to store any kind of data.

The tasks behind using XML are always the same: reading data from XML and writing data into it. So, this chapter focuses on these tasks and shows how to implement them.

Unfortunately, PHP 4’s XML support was somewhat limited. Some extensions did not prove to be very stable. This changed drastically with PHP 5 and a revamped XML support. Therefore, we completely omit PHP 4 in this chapter (and in the rest of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP 7 Programming Blueprints

PHP 7 Programming Blueprints

Jose Palala, Martin Helmich

Publisher Resources

ISBN: 9780133040340Purchase book