Hi,
Does anyone know how to generate a random number (integer) in PHP?
I want to make a function that pulls a random record from a MySQL DB, each record being indexed (i.e. 1, 2, 3.....200).
I know that this is possible in Java through the "math.random()" method, just wondering what the equivalent command is in PHP...
Thanks,
Pete