andre hace 4 años
padre
commit
08b0156221
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      index.php

+ 1 - 1
index.php

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