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)

PHP : Types of Sorting

Sorting is any process of arranging items in some sequence and/or in different sets. It aids in the process of organizing data into a presentable format. There are many sorting algorithms in existance . (see them in action at : ). PHP uses Quick Sort in implementing most types of sorting. PHP offers a … Continue reading PHP : Types of Sorting