Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

i am having problem when i try to insert data into the database i get Duplicate entry '109070' for key 1

Posted on 2008-10-17
1
Medium Priority
?
179 Views
Last Modified: 2012-05-05
i am trying to insert data into mysql i get Duplicate entry '109070' for key 1

what is that and how i fix it?
0
Comment
Question by:mgtm3
1 Comment
 
LVL 28

Accepted Solution

by:
gamebits earned 2000 total points
ID: 22742829
It says exactly what it is you have a field that is set to be unique (may be a primary key) and you are trying to insert data in that field that already exist.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question