PHP

PHP: DBClass

DBClass is a simple PHP database class that will help ease database connection usage. You can download the script in the links listed below.

DBClass Download links

Sample Usage :
$dbClass = new DBClass();
$result = $dbClass->query( $dbQuery );

while ( $content = $dbClass->fetchAssoc( $result ) )
{
	echo $content['description'];
}
Functions :
  • query()
  • numRows()
  • fetchAssoc()
  • fetchArray()
  • freeResult()
  • close()
  • sql_error()