Login   Register  
PHP Classes

SQL Generator: Generate common SQL queries from parameter lists

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,523 All time: 2,394 This week: 1,474Up
Version License Categories  
sql_gen 1.0.0GNU General Public Lice...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: 27
All time rank: 301 in Viet Nam Viet Nam
Week rank: 215 Down1 in Viet Nam Viet Nam Equal
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,523All time:2,394
 This week:0This week:1,474Up