PHP Classes

Simple DB: Store and retrieve data from a MySQL database

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 385 All time: 6,684 This week: 1,555Up
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: 46
All time rank: 5496 in Argentina Argentina
Week rank: 312 Up4 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:385
This week:0
All time:6,684
This week:1,555Up