Jump to content

creating a unique number


reggie

Recommended Posts

I want to use 1 value ($surname='surname') to generate a unique number including the surname within the number. for example SURNAME123456789. And then to store this number in the database but checking that it doesnt exsist, but if id did to generate another. Not that it would generate two identical numbers of this length.Any ideas or suggestions. I am using php and mysql. Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...