Пример #1
0
 public function dbConnect()
 {
     self::$con = mysqli_connect($this->hostName, $this->userName, $this->passWord, $this->dbName);
     if (!self::$con) {
         mysqli_error(self::$con);
     }
 }