/home/mjc1/public_html/manage/category/class_opdb.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?
 
class DBOP
{
    var 
$dbop_host;
    var 
$dbop_name;
    var 
$dbop_user;
    var 
$dbop_pass;
    var 
$debug_mode;
    
    function 
DBOP($dbop_host,$dbop_name,$dbop_user,$dbop_pass,$debug_mode='1')
    {
        
$this->dbop_host    $dbop_host;
        
$this->dbop_name    $dbop_name;
        
$this->dbop_user    $dbop_user;
        
$this->dbop_pass    $dbop_pass;
        
$this->debug_mode $debug_mode;
        
$this->connect    = @mysql_connect($this->dbop_host,$this->dbop_user,$this->dbop_pass);
        @
mysql_select_db($this->dbop_name,$this->connect);
    }

              
}
?>