Kurt111780
Technical User
Hello,
Does mySql have an auto number similar to access? I need to generate a unique random alphanumeric number for each new record in the database. The id will be used in a link and should not be guessable so an incrementing number will not work.
Do I have to generate the number using php, then check for it in the DB, and then insert the record? Is there a tutorial on this somewhere? I'm new to php.
Thanks,
Kurt
It's only easy when you know how.
Does mySql have an auto number similar to access? I need to generate a unique random alphanumeric number for each new record in the database. The id will be used in a link and should not be guessable so an incrementing number will not work.
Do I have to generate the number using php, then check for it in the DB, and then insert the record? Is there a tutorial on this somewhere? I'm new to php.
Thanks,
Kurt
It's only easy when you know how.