a guest Dec 7th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- stock SQL_SetInt(dbRowID, const TABLE, const COLUMN, INTEGER, &upd_val = RANDOM_NUMBER)
- SQL_Checkdb(TABLE, COLUMN, "int(20) NOT NULL default '0'");
- mysql_query_format("UPDATE `"#SQL_PREFIX"%s` SET `%s` = '%i' WHERE `row_id` = '%i' LIMIT 1;", TABLE, COLUMN, INTEGER, dbRowID);
- if(upd_val != RANDOM_NUMBER) upd_val = RANDOM_NUMBER;
- return 1;
RAW Paste Data