RE: [PHP] problem with mysql / auto increment fields.. ?

2003-02-19 Thread Chris McCluskey
MySql should insert a value into that column when you update if you are using an auto_increment field. this value will always be unique. period. -Chris -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Wed 2/19/2003 1:16 PM

Re: [PHP] problem with mysql / auto increment fields.. ?

2003-02-19 Thread Justin French
if you check on the FIRST insert (the primary table that holds master usernames) to ensure the uname doesn't exist, THEN do the other queries, there shouldn't be a problem. I think the key here is that you're using the username as the unique key, and putting that username in multiple tables...