}
public String dbQuery(String input) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException, IOException, NoSuchAlgorithmException {
+ if(!db.isValid(2)) {
+ db = DriverManager.getConnection(global.dbConstant.dbLink + global.dbConstant.dbName, global.dbConstant.dbAdmin, global.dbConstant.dbPassword);
+ stmt = db.createStatement();
+ }
deletetmp();
if (input.charAt(0) == '0')
return splitUsrPass(input.substring(2), 0);