I am finishing a scheduling system and need some help. I have to make the script generate a random number to assign a customer id and another for an appointment id. Currently I am using:
$appt = rand(0,10000);
$cust = rand(0,10000);
But this seems to be generating the same numbers frequently. Anybody have an idea on what to use in stead of the following?