Godhand Posted September 18, 2007 Share Posted September 18, 2007 I edited my cron_day file to make donators get more intrest but it didn't work or get any intrest the code is $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(7/100)) where bankmoney>0 AND donatordays>0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>100"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>200"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>300"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney*(2/100)) where bankmoney>0 AND donatordays>400"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(14/100) where cybermoney>0 AND donatordays>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(8/100) where cybermoney>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>100"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>200"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>300"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(4/100) where cybermoney>0 AND donatordays>400"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney*(50/100) where cybermoney>0 AND donatordays>950"); There is no error message for this that I am aware of; it manually isn't working any suggestions are appreciated. I'm thinking it might be needing the $db->query($query8); stuff but I'm not 100% sure. I'm going to test it though. Quote Link to comment Share on other sites More sharing options...
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.