[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 each time the > page is refreshed.
RTFM, you need to seed before you call mt_rand as stated on the man page. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]