Hi,
I have a basic MySQL database where each row is assigned a unique incrementing ID number, however I would also like each row to have a unique 6 character, alpha numeric ID which also increments. Example:
Row 1: ID = 1, Name = AAAAAA
Row 2: ID = 2, Name = AAAAAB
Row 3: ID = 3, Name = AAAAAC
The database is added to via PHP so this can be done through PHP as well as through pure SQL.
So far I have been trying to build a PHP function which could turn the Numeric ID into the AlphaNumeric ID to no success.
Anybody have any suggestions? Thank you.