POG1 Posted March 15, 2008 Share Posted March 15, 2008 because people dont have like 500k when they start and i many people like gangs want to have the price depending on how many gangs there are.. i have tried this $amount=$db->query("SELECT count(*) FROM gangs"); $cost=10000; $price=$amount * $cost; $priceput=money_formatter($price); priceput only returns 11 even if there would be a million gangs Quote Link to comment Share on other sites More sharing options...
POG1 Posted March 15, 2008 Author Share Posted March 15, 2008 Re: gang price based on ammount of gangs thanks, worked perfect :D Quote Link to comment Share on other sites More sharing options...
montyash Posted March 16, 2008 Share Posted March 16, 2008 Re: gang price based on ammount of gangs is this put in creategang.pgp? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted September 2, 2008 Share Posted September 2, 2008 Re: gang price based on ammount of gangs Lost one that wont be a good idea ;). If the gang is id 460 and there used to be gangs created but deleted well thats going to mess up big time! Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted September 3, 2008 Share Posted September 3, 2008 Re: gang price based on ammount of gangs Close.... SELECT * FROM table WHERE field IN (element, element, element) ie. SELECT userid, username FROM users WHERE user_level IN (2, 3); Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted September 3, 2008 Share Posted September 3, 2008 Re: gang price based on ammount of gangs lol - lazy soab! 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.