Jump to content

add a higher number at the end if is taken


jwk811

Recommended Posts

Yes, you can do it that way, but you would have to make a query to the database each time you want to store something to determine if the id were already taken. When you use an auto increment field, the number in that field is automatically incremented each time a record is added. You can alway build the id to display from the number in that field.

Ken

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.