Re: Randomise Problem

From: Date: Tue, 13 Jun 2000 16:45:36 +0000
Subject: Re: Randomise Problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-378@lists.php.net to get a copy of this message
At 09:43 PM 6/13/00 +0500, Little Guru wrote:
I am trying to use the randomise function as below. And every time I am getting same answer. Can anyone help? rand(5,15)
Make sure to seed your random number generator with srand before you call the rand function. HTH, Zak Greant Creative Director Nucleus Information Service Inc. "I am rather like a mosquito in a nudist camp: I know what I ought to do, but I don't know where to begin." - Stephen Bayne

« previous php.db (#378) next »