Hi all i need to generate a 10 digit (at least) alphanumeric id when a customer submits a form, it has to be unique.
Is there an easy way of doing this or do i just use the uniqid function and then check against the database that it doesnt already exist
Regards