SQL Generator: Generate common SQL queries from parameter lists

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,531 All time: 2,543 This week: 328
Version License Categories
sql_gen 1.0.0GNU General Publi...Databases, Text processing
Description Author

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.

Picture of Bao Nguyen Quoc
Name: Bao Nguyen Quoc is available for providing paid consulting. Contact Bao Nguyen Quoc .
Classes: 10 packages by
Country: Viet Nam Viet Nam
Age: 32
All time rank: 331 in Viet Nam Viet Nam
Week rank: 79 2 in Viet Nam Viet Nam
Innovation award
Innovation award
Nominee: 2x

File Role Description
class.sql.php Class Class file
test.php Example class example
test.sql Data Sample sql

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,543
This week:328

For more information send a message to info at phpclasses dot org.