As long as the Id column is auto_increment, when you do your insert statement, it should look something like this:
PHP Code:
mysql_query("INSERT INTO users (username, firstName, lastName) VALUES ('kbailey', 'Kyle', 'Bailey')");
just make sure you specify which columns you want teh information to be added to where username, firstname, lastname is, and the values correspond to those tables in that order, and that will increment the Id field automatically.
|