PHP Classes

SQL Generator: Generate common SQL queries from parameter lists

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


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: 36
All time rank: 341 in Viet Nam Viet Nam
Week rank: 311 Down3 in Viet Nam Viet Nam Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.sql.php Class Class file
Accessible without login Plain text file test.php Example class example
Accessible without login Plain text file test.sql Data Sample sql

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,557
This week:455Up