andre 4 lat temu
rodzic
commit
08b0156221
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -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);
         }