Hi, I am having difficulties with this code; $number = rand ( 1,10 ); When I print $number it always returns 1 no matter what? Any help appreciated
Nick
manuals are your friends.
http://www.php.net/manual/en/function.rand.php
-- quote --
Remember to seed the random number generator before use with srand().
-- end quote --