Zan Posted January 29, 2011 Posted January 29, 2011 This is a simple Jail successfull busts and failed Busts First of all SQLS [mysql]ALTER TABLE `users` ADD `bustdone` int(11) NOT NULL ; ALTER TABLE `users` ADD `bustfailed` int(11) NOT NULL ;[/mysql] Open Up jailbust.php, Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under It add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under it add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add it anywhere u want You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Hope yu all like it Quote
rulerofzu Posted January 29, 2011 Posted January 29, 2011 Why have you increased the number of sql queries? Your already updating $db->query("UPDATE users SET crimexp=crimexp+{$gain} WHERE userid=$userid"); So just add to that query $db->query("UPDATE users SET crimexp=crimexp+{$gain}, bustdone=bustdone+1 WHERE userid=$userid"); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.