Jump to content

help req


narjis

Recommended Posts

Yup. If you set your primary key as an INT (integer) and select "Auto Increment," every time you enter a new record into the database, it will have a unique ID number.  Now, like xyph said, if they need to be complicated and hard to guess, then dont use this method, but if not, this will start at 1 and increase by 1 for every new record you add to the table.

Link to comment
https://forums.phpfreaks.com/topic/236132-help-req/#findComment-1214314
Share on other sites

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.