Godhand Posted September 26, 2007 Share Posted September 26, 2007 I was trying to add in some new banks after renaming them to "fit" the names given along with installing it into all user stats. $db->query("UPDATE users SET donatorcrystalbank=donatorcrystalbank+(donatorcrystalbank*(1/10)) where donatorcrystalbank>0"); $db->query("UPDATE users SET ultramoney=ultramoney+(ultramoney*(20/100) where ultramoney>0"); $db->query("UPDATE users SET dmoney=dmoney+(dmoney*(14/100) where dmoney>0"); There is no known error output message just the obvious sight of no increase on any of these accounts. Quote Link to comment Share on other sites More sharing options...
UCC Posted September 26, 2007 Share Posted September 26, 2007 Re: Multiple banking cron problems that are similar Your first query looks fine at first look, the second two are missing ) midway through Quote Link to comment Share on other sites More sharing options...
Godhand Posted September 26, 2007 Author Share Posted September 26, 2007 Re: Multiple banking cron problems that are similar Thank you although makes me feel idiotic that I only made a ) error lol Quote Link to comment Share on other sites More sharing options...
seanybob Posted September 27, 2007 Share Posted September 27, 2007 Re: Multiple banking cron problems that are similar lmao - be glad you weren't coding in "lisp" Quote Link to comment Share on other sites More sharing options...
Godhand Posted September 27, 2007 Author Share Posted September 27, 2007 Re: Multiple banking cron problems that are similar lmao yea now that would be terrible. Whats worse is I got kicked out of Ap Calc in High School for being lazy on my senior year. But what do you think of the rate of interest though for the banks? (ultrabank costs 2B to buy in and has 20% fees up to 2B (deposit) 750m withdraw) 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.