PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-01-19 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,528 This week: 1All time: 2,488 This week: 1,047Up
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 <contact>
Classes: 10 packages by
Country: Viet Nam Viet Nam
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  
 0%
Total:1,528
This week:1
All time:2,488
This week:1,047Up