Page 1 of 1

auto increment primary keys in MySQL

PostPosted: 20. February 2007 00:18
by kkillgasmm
im trying to use phpmyadmin in XAMPP to be able to set a primary key field as an id column so that whenever a user registers on my site; they are automatically assigned an id number.

i cant seem to be able to do it though, i set it to 'auto increment' and int with a length of 15, but i cant figure out how to make it so that each user is automatically assigned a number upon registering?