<?php rand(0, 10);
?> "0" being the lower limit, "10" being the upper. You should read into the function srand() at php.net (type "srand" into the search input field - top right). At 09:17 AM 1/16/2003 +0100, Aidal wrote: >Hi NG. > >Can anyone tell me how to make a random number from a limiter like >"randomize(10);" or somthing like that? >It seems that the function "gmp_ramdom()" doesn't work. >I get "Fatal error: Call to undefined function: gmp_random()" if I try to >use it. > >Can anyone help please... > >/Aidal > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php