Browse Source

class test

andre 4 years ago
parent
commit
b3df52499c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      index.php

+ 1 - 0
index.php

@@ -7,6 +7,7 @@ class db extends mysqli {
     protected $db   = 'ban';
     protected $db   = 'ban';
 
 
     public function __construct() {
     public function __construct() {
+        print_r($this);
         @parent::__construct($this->$host, $this->$user, $this->$pass, $this->$db);
         @parent::__construct($this->$host, $this->$user, $this->$pass, $this->$db);
         if($this->connect_errno){
         if($this->connect_errno){
             die($this->connect_error);
             die($this->connect_error);