PHP Classes

objToSql: Generate SQL queries from objects or arrays

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 233 All time: 8,078 This week: 405Up
Version License PHP version Categories
objtosql 1.0GNU General Publi...5.0PHP 5, Databases
Description 

Author

This class can generate SQL queries from objects or arrays.

It can traverse the list of variables of the object or a given associative array and generate SQL INSERT or UPDATE queries to create or update records of a given database table.

The names of the table fields are taken from the object variables or array indexes. The field values are taken from the respective variable or array entry values.

Picture of Cale O
Name: Cale O <contact>
Classes: 3 packages by
Country: United States United States
Age: 49
All time rank: 788106 in United States United States
Week rank: 578 Up70 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file objtosql.class.php Class class file
Accessible without login Plain text file example.php Example example usage of class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:233
This week:0
All time:8,078
This week:405Up
User Comments (1)
very handy
12 years ago (Jacek Lukasiewicz)
55%StarStarStar