|
|
@@ -8,7 +8,7 @@ class db extends mysqli {
|
|
|
|
|
|
public function __construct() {
|
|
|
print_r($this);
|
|
|
- @parent::__construct($this->$host, $this->$user, $this->$pass, $this->$db);
|
|
|
+ @parent::__construct($host, $user, $pass, $db);
|
|
|
if($this->connect_errno){
|
|
|
die($this->connect_error);
|
|
|
}
|