In your SQL:
INSERT INTO access (field, names, go, here) VALUES ('field', 'values', 'go', 'here')
Just leave the auto-increment field out entirely in your query and mysql will take care of it for you. If you then call
mysql_insert_id() (check the manual)
it will tell you what the number was that went into the auto-insert field.