Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
2817
PHP SimpleXML: Create an XML Document
PHP Version: PHP3, PHP4, PHP5
Description
In This tutorial, I will be
covering how to create an well-formed XML document
from a HTML form. In this example, I have created a
html page to enter employee details and the data entered by user is stored in
an xml file.
In the above employee form,
on submit the data will be posted on php/employee.php
file. In employee.php file, I have gathered all
POSTED data as below: