PHP Classes
elePHPant
Icontem

File: includes/DBOpen.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mitchelle Pascual  >  MySQL DB Class and Data Manipulation Class  >  includes/DBOpen.php  >  Download  
File: includes/DBOpen.php
Role: Example script
Content type: text/plain
Description: Initialize DB connection
Class: MySQL DB Class and Data Manipulation Class
MySQL wrapper with data manipulation functions
Author: By
Last change:
Date: 8 years ago
Size: 198 bytes
 

Contents

Class file image Download
<?php
$dbconn
= NULL;
if (!
is_object($dbconn)) {
   
# create an instance of db connection
   
$dbconn = new MySQLDB($conf['dbhost'], $conf['dbusername'], $conf['dbpassword'], $conf['dbname']);
}
?>