Re: Rand() Emulation

From: Date: Tue, 24 Jun 2003 15:14:55 +0000
Subject: Re: Rand() Emulation
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-28859@lists.php.net to get a copy of this message
Doesn't really cut it when you do not know a min and max value, or want to extract a random range of numbers. Becoming Digital wrote:
Im trying to figure out a way to emulate mysql's RAND() function to be cross database compatible via php. Has anyone done anything similar to this???
How about PHP's rand() function? http://us2.php.net/manual/en/function.rand.php Edward Dudlik Becoming Digital www.becomingdigital.com Did I help you? Want to show your thanks? www.amazon.com/o/registry/EGDXEBBWTYUU


« previous php.db (#28859) next »