This tutorial shows how to parse XML documents in PHP. It walks you through a fairly simple application of XML that you can use to implement a news system for your home page.
DOM XML: An Alternative to Expat PHP / XML Web Services
There are many xml tutorials for php on the web, but few show how to parse xml using DOM. I would like to take this opportunity to show there is an alternative to the widespread SAX implementation for php programmers.
Using XML and JSP together PHP / XML Web Services
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, the main focus of this chapter is on PHP 4. In PHP 5.1, some new features will be added that are already covered in this chapter.
Introduction to PHP Functions PHP / Functions
Functions are a very important part of PHP and it is probably safe to say that they are used in every single script. This tutorial will guide you through the basics of PHP functions to creating your own to do specific tasks.
Parsing XML using PHP PHP / XML Web Services
Parsing XML is a very common task when programming for the web. This article will show you how to use the eZ xml parser to handle XML documents.
Working with Directories PHP / Functions
As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and manipulate directories and directory entries. Like other file-related parts of PHP, the functions are similar to the C functions that accomplish the same tasks, with some simplifications. This tutorial describes how PHP handles directories. You will look at how to create, remove, and read them.
XML processing with PHP PHP / XML Web Services
XML is Extensible Markup Language. It is a markup language - much like HTML - and was designed to describe data. XML uses tags but these tags are not predefined as in HTML. In XML you define your own tags. All XML documents have 3 types of components: Elements, attributes and data.
PHP and MySQL - Introduction PHP / Getting Started
The topics covered in this tutorial include:
* PHP basics, including script structure, variables, supported types, constants, expressions, and type conversions
* Condition and branch statements supported by PHP, including if, if...else, and the switch statements
* Looping statements
* Arrays and array library functions
* Strings and string library functions
* Regular expressions
* Date and time functions
* Integer and float functions
* How to write functions, reuse components, and determine the scope and type of variables
* An introduction to PHP object-oriented programming support
* Common mistakes made by programmers new to PHP, and how to solve them.
PHP string functions summary PHP / Functions
One of PHP strengths are all the string functions. We give you a great help with starting to work with these functions.
Functions in PHP PHP / Functions
Functions are arguably one of the most useful features of PHP. They allow a programmer to encapsulate sections of code within a structure which can then be executed from anywhere else in the program flow.
Use phpdomxml to create a Guestook in Flash PHP / Miscellaneous
In this tutorial we will see how to create and manage a simple Guestbook using an XML formatted file (with a simple XSL style-sheet). To do that we will create and parse the XML structure using an open source library for PHP which allow us to threat XML with DOM.