POG1 Posted March 15, 2008 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
POG1 Posted March 15, 2008 Author Posted March 15, 2008 Re: gang price based on ammount of gangs thanks, worked perfect :D Quote
montyash Posted March 16, 2008 Posted March 16, 2008 Re: gang price based on ammount of gangs is this put in creategang.pgp? Quote
Haunted Dawg Posted September 2, 2008 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
Guest Anonymous Posted September 3, 2008 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
Guest Anonymous Posted September 3, 2008 Posted September 3, 2008 Re: gang price based on ammount of gangs lol - lazy soab! 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.