MySQL Forums
Forum List  »  Newbie

Re: Index on 2 different tables
Posted by: Eric M.
Date: August 15, 2004 01:06PM

Thanks for your reply and getting me started !!!

Here is what I have:

INSERT INTO phpbb_posts_text (post_id, post_subject, post_text) VALUES ( WHATHERE,'$subject', '$body')

The field is Auto_Increment(ed) and I even tried:

INSERT INTO phpbb_posts_text (post_subject, post_text) VALUES ( '$subject', '$body')

but I get: Error adding entry: Duplicate entry '0' for key 1

Can anyone offer any help?

thanks,
Eroc

Options: ReplyQuote


Subject
Written By
Posted
August 14, 2004 01:33PM
Re: Index on 2 different tables
August 15, 2004 01:06PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.