Alright, so I'm making my own PHP game.
I've got:
mt_rand(0 , 2500);
And I want to make $minerals equal to the number that mt_rand(0 , 2500); will generate. How do I do that?
PHP Help
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
$minerals = mt_rand(0, 2500);