Cless Posted June 30, 2007 Share Posted June 30, 2007 Hello, I love to ask questions. Argh. Guess that's part of learning. Heh... Err, my questions. -How do you set a variable to a random number between two numbers? Such as, setting the variable $var to a random number between 1 and 5. -Yup. Pokémon. Sounds stupid, however, we have interests. So, like, how should I store Pokémon Data? (Pokémon are like creatures or monsters. The closest things possible to it are Monster Rancher, Digimon, and Demikids). It's more than likely going to be stored in a table... yet, I don't see how it could be really possible. -Okay, I have a field called "Money". How would I add or subtract numbers from that field? Thanks. Quote Link to comment Share on other sites More sharing options...
metrostars Posted June 30, 2007 Share Posted June 30, 2007 -How do you set a variable to a random number between two numbers? Such as, setting the variable $var to a random number between 1 and 5. $var = rand(1, 5); -Yup. Pokémon. Sounds stupid, however, we have interests. So, like, how should I store Pokémon Data? (Pokémon are like creatures or monsters. The closest things possible to it are Monster Rancher, Digimon, and Demikids). It's more than likely going to be stored in a table... yet, I don't see how it could be really possible. -Okay, I have a field called "Money". How would I add or subtract numbers from that field? Thanks. I'll help you on MSN if you wish. MY address is in my profile. Quote Link to comment Share on other sites More sharing options...
Cless Posted June 30, 2007 Author Share Posted June 30, 2007 Oh, I see. Easy enough. Okay, I will. Thanks. 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.