/ Published in: PHP
Expand |
Embed | Plain Text
<? class db { private $db; private $num; private $res; private $row; public function __construct() { $this->connect(); } public function connect() { } public function disconnect() { } public function query($query) { return $this->res; } public function numRows() { return $this->num; } public function fetch() { return $this->row; } public function row($field) { return $this->row[$field]; } public function insertID() { return $this->id; } } ?>
You need to login to post a comment.
