Page 1 of 1

PHP Help

Posted: Sat Apr 15, 2006 2:40 pm
by thien
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?

Posted: Sat Apr 15, 2006 2:42 pm
by feyd

Code: Select all

$minerals = mt_rand(0, 2500);
:?