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
StarStarStar 53%Total: 234 This week: 1All time: 8,099 This week: 560Up
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: 50
All time rank: 790106 in United States United States
Week rank: 411 Up48 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:234
This week:1
All time:8,099
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2193
 
very handy
13 years ago (Jacek Lukasiewicz)
55%StarStarStar