What do you mean didn't work. Did a value not get added? Did you replace the name of the table with your table name? Other than that you should type it exactly as i have. if you do that and it still doesn't add a value make sure it is an auto increment table like you think it is.