private static function _con() { $db_config = array("host" => "localhost", "user" => "root", "pass" => "", "dbname" => "webwat", "charset" => "utf8"); Connect::$mysqli = @new mysqli($db_config["host"], $db_config["user"], $db_config["pass"], $db_config["dbname"]); Connect::$mysqli->set_charset($db_config["charset"]); }