Login   Register  
PHP Classes
elePHPant
Icontem

Simple DB: Store and retrieve data from a MySQL database

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 (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-10-01 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 384 All time: 5,980 This week: 1,872Up
Version License PHP version Categories  
simple-db 1BSD License4.3Databases
Description Author  

This class can be used to store and retrieve data from a MySQL database. It can:

- Establish database connections to a MySQL database server
- Execute SQL queries
- Retrieve query results into an array
- Retrieve a field, row or page of query results
- Retrieve table rows that have enum values

This class bring you an easy way to get and store data from mysql database.
Once you execute a sql query, all the results are stored into an array for later process.
This class is disigned for small query access.
This class extend the class.error.php
UPDATE: extended the class to support caching the results on filesystem.

Picture of marcelo entraigas
Name: marcelo entraigas <contact>
Classes: 7 packages by
Country: Argentina Argentina
Age: 37
All time rank: 5416 in Argentina Argentina
Week rank: 713 Down4 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.database.php Class main class file
Accessible without login Plain text file example.php Example simple example
Accessible without login Plain text file example-advanced.php Example advanced example
Accessible without login Plain text file sample-data.sql Data sample data
Accessible without login Plain text file class.error.php Class auxiliary class
Accessible without login Plain text file class.CachedDB.php Class class file
Accessible without login Plain text file example-cached_db.php Example cached db example

 Version Control Unique User Downloads Download Rankings  
 0%Total:384All time:5,980
 This week:0This week:1,872Up