PDA

View Full Version : PHP Inserts duplicate multiple rows in table


Duncan
05-26-2011, 02:06 PM
Hi, I'm using phpMyAdmin and a database of products. When i use dreamweaver CS5 to create an insert form to create new entries into my products table, it uses the autonumber to create the new record, but then it duplicates it with another record and its own auto number. Why is it doing this?

I see that if you log into phpMyAdmin you can select how many rows to insert at a time manually, and by default its set to 2. The checkbox that says "Ignore" is also checked before the second intance by default.

I'm confused why its creating duplicate records in my table with each their own unique number?

Can anybody help me please?
- Duncan.

Duncan
05-26-2011, 02:29 PM
Nevermind, i had duplicated code inserted automatically... sorry its fixed :)