You should call mt_srand((double) microtime() * 100) once, and only
once, in any given script.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmus
[EMAIL PROTECTED] (Nikola Veber) wrote:
> Hi !
> I'm having troubles with the random numbers. When I create a number witm mt_rand()
> I always get the same number on my local server. I need this stuff to ranomly
>display
> some text, and I'd like to have another value of the random number
2 matches
Mail list logo