function query($sql) { $config = DatabaseConnect::getInstance(); $result = $config->query($sql); return $result; }