PHP Classes
Icontem

Class: DB Connect


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cristian Rusu  >  DB Connect  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: DB Connect Support forum
Base name: db_connect
Description: Query a database and fetch the result and metadata
Version: -
Required PHP version: -
License: Public Domain
All time users: 1810 users
All time rank: 1505
Week users: 3 users
Week rank: 2400
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Cristian Rusu
Name: Cristian Rusu <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Romania Romania - PHP jobs in Romania
Home page: http://ticera.i-tech.ro/
Age: 35
All time rank: 503
Week rank: 888

Groups

Group folder image Databases Database management, accessing and searching View top rated classes

Detailed description

This is a simple class that can connect to a MySQL database, execute an SQL query and retrieve the result set rows and the respective metadata.

The class get function executes an SQL query and returns status of success of the executed query, the number of rows, the number of columns, the total number or result cells, and the list of names of the result columns as part of the result set array. The metadata result fields are prefixed with & to avoid confusion with the result column names.

Depending on the number of rows and columns contained in the result set, it may contain a two dimension array with all the data of the result columns and rows, or just an array with the data of one column or one row, or just one result value.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (50.0%)
Sufficient (62.5%)
-
Sufficient (62.5%)
-
-
Insufficient (37.5%)
1794
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file conn_data.inc.php Conf. Used to specify the mySQL connection data
Plain text file db_conn.php Class Class file
Plain text file usage.php Example usage sample
Download all files: db_connect.tar.gz db_connect.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products