note 7816 added to mt_rand

From: Date: Wed, 16 Aug 2000 08:39:21 +0000
Subject: note 7816 added to mt_rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-1941@lists.php.net to get a copy of this message
another addon: you need some more brackets to avoid a faulty range: $rndnumber=(mt_rand() % ($maxVal-$minVal)) + $minVal; /*,*/ Wowbagger http://www.php.net/manual/function.mt-rand.php

« previous php.notes (#1941) next »