This topic is locked

Editing and deleting displayed results

9/14/2005 2:37:54 PM
PHPRunner General questions
E
edgerton author

We're using your program to display an online phonebook. This phonebook is tied into a MySQL database.
We're having a problem when it comes to editing or deleting entries. Say there are 5 people named Smith. When I edit or delete one "Smith" all of the smiths are affected. Is it because I have some field set as the primary key and not to allow duplicates?
I've been trying to figure it out for several days but to no avail.

Sergey Kornilov admin 9/15/2005

Hi,
it seems that you chose wrong key fields. You may post your table strucure here and I will help you to select primary key.