1 pjaol 1.1 <?php
2
3 class dbiw {
4
5 private $dbh;
6
7
8 function getDBH () {
9 $conf = Conf::instance();
10 $db_conf = $conf->get("db_config");
11 $dbType = $db_conf["type"];
12 include("mysql_conn.inc");
13
14 }
15 function __construct () {
16 $this->getDBH();
17 $this->$dbh = new db_handle();
18
19 }
20 function dbExec ($sql) {
21 return $this->$dbh->sel($sql);
22 pjaol 1.1 }
23
24
25 }
26
27 ?>
|