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.
+1
A:
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_INCREMENT
to do this very thing. See the CREATE
query on the documentation page for a simple and succinct example how of to accomplish this.
Jonathan Sampson
2010-02-20 08:10:36