int rand ( [int min, int max] ) returns random numbers : rand « Math « PHP






int rand ( [int min, int max] ) returns random numbers

 
<?
    $random = rand( );
    $randrange = rand(1,10);
?>
  
  








Related examples in the same category

1.Dice Rolling Simulator
2.Generate random numbers (integer values) between 0 and MAX_RAND by calling rand() or mt_rand() without any arguments
3.Random Images
4.Random Numbers