public static function &get_instance() { if (!self::$instance) { self::$instance = new Mysqli_Database(); } return self::$instance; }