SimpleXML is simple to use as its name suggests. However it is a pain when you need to check the value of an element which may or may not exist. In short using it on XML schema with optional elements is a royal pain. As SimpleXML only creates objects for which data exists, you will [...]
Please fill in the following fields
* - Required
Your Name: *
Your E-Mail: *
Your Remarks:
Friend's Name: *
Friend's E-Mail: *