note 3440 modified in rand by ronabop

From: Date: Fri, 20 Oct 2000 06:13:21 +0000
Subject: note 3440 modified in rand by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6739@lists.php.net to get a copy of this message
Seems that both min and max values are needed (for 3.0.14). So: <? srand((double)microtime()*1000000); echo "rand(1,99)"; ?> http://www.php.net/manual/function.rand.php

« previous php.notes (#6739) next »