PHP Classes

File: includes/DBOpen.php

Recommend this page to a friend!
  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: 17 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']);
}
?>