Is there a certain data type on phpmyadmin that works like in ms access that if you don’t specify a primary key, ms access will prompt to create a primary key named ‘ID’ which will then be incrementing(1,2,3..) as you are adding more records to the database.
Share
I’m assuming you’re referring to MySQL, the database, and not phpmyadmin, the web-app used to interface with it. You can use
AUTO_INCREMENTto do this very thing. See theCREATEquery on the documentation page for a simple and succinct example how of to accomplish this.