Re: Rand() Emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux