PHP : XML Create-Add-Edit-Modify using DOM , SimpleXML , XPath

Examples of a variety of operations performed on XML like Creating, Adding, Editing, Modifying, Reordering Data using Simple XML , DOM & even XPath.

Advertisements

PHP : XML QueryLog (Add/Edit)

Logging is absolutely essential to keep track of your system. I created the below function to keep track of any database queries which failed. Since 1 of the reasons for this could be a loss of database connectivity, keeping a XML based log was more logical than a database log. For further examples of adding/editing … Continue reading PHP : XML QueryLog (Add/Edit)