Databases: SQL Generator
Bao Nguyen Quoc (contact me)
This class can be used to automatically generate common SQL queries from parameter lists.
It can generate SQL queries of the types: INSERT, UPDATE, REPLACE and DELETE. The class takes the parameters that define the query data from associative arrays.
This class may also return SQL date and time values from integer timestamps, equal conditions or an IN syntax from a list of values, quote text field values.
The class may also split a text string with multiple query lines taken from a string or a file.
Click here for detailed information about this class on phpclasses.org