Primary key question with PHPmysql database
I know that updating the primary key is taboo, but I have a a newsletter subscription form set up that works perfectly, but I can't figure out how to create the primary key. I tried using the subscriber email address (because its unique, but in trying to add an update function I realize that the email address may need to be updated.
My question is how do I get a primary key that will work when I'm relying on a form variable to create the record and therefore have no control over assigning one?
Is there a way to have one automatically assigned when a subscriber hits the submit button?
