public static function get_db_version() { $result = MySQLQueries::get_db_version(); if ($result !== false) { $row = MySQLConnection::fetch_object($result); return $row->current; } return null; }