About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 76
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Jon Abernathy
See full specifications

scripts default iconMySQL Database Abstraction (Scripts) Publisher's description

This PHP class provides an abstraction layer for MySQL.

This PHP class provides an abstraction layer for MySQL. The main purpose is to encapsulate and simplify the details of connecting to a MySQL database and performing queries.

MySQL Database Abstraction is for MySQL only is designed for a single database; to use it, extend the class in your code, with the given database/user/password you will connect to.


// Include the class definition file.

// Extend the class with your own database parameters
class DB_Mysql extends DB {
var $host = 'host.db.com';
var $database = 'dbname';
var $user = 'username';
var $password = 'password';

// Instantiate the class
$db =& new DB_Mysql;

// Run a SQL query
$db->query('SELECT * FROM table');

// Iterate through the result set (if any)
while ( $db->next_record() ) {
// Retrieve the value for a particular field in the current row
$field = $db->f('field');
// etc...


System Requirements:

Program Release Status: New Release
Program Install Support: Install and Uninstall

MySQL Database Abstraction (Scripts) Tags:

Click on a tag to find related softwares

Is MySQL Database Abstraction (Scripts) your software?

Manage your software

Most Popular

scripts default icon ADP Forum (Scripts) 2.0.3
ADP Forum is a discussion board system that doesn't use any database, but instead stores all the data in... Read more
scripts default icon Soraxdesign PHP Guestbook (Scripts) 3.2.5
The Soraxdesign PHP Guestbook is a simple PHP Guestbook with no MySQL database required, which offers a... Read more
scripts default icon PHPizabi (Scripts) 0.848b-C1
PHPizabi is one of the most powerful social networking platforms on the planet
scripts default icon my little forum 2.0RC1
my little forum is a simple web-forum that supports classical thread view (message tree) as well as... Read more
scripts default icon Tobi's Download Server for Download Managers 0.9
Tobi's Download Server is a PHP/MySQL solution for providing Document and/or Data downloads in a... Read more

Related Category

» Auctions (36)
» Blog (217)
» Books (75)
» Calculators (17)
» Calendars (50)
» Chat Scripts (162)
» Countdowns (1)
» Counters (2)
» Database Tools (1345)
» Date and Time (14)
» Development (1506)
» Documents (3)
» E Commerce (72)
» Education (127)
» Email Systems (202)
» Guestbooks (42)
» Healthcare (2)
» Link Checking (12)
» Link Indexing (46)
» Match Making (7)
» Miscellaneous (201)
» Modules (9734)
» Multimedia (126)
» Networking (113)
» Organizers (4)
» PHP Classes (7)
» Real Estate (1)
» Security (1)
» Top Sites (6)
» Web Fetching (1)
» Web Sites (3)
» Wikis (73)
» XML and PHP (2)