Hello to all masters. . .I would like to ask if it is possible to use edit function in database without primary key. Ex.
I have a button edit, a two textfields that holds the name and age of a person.
If I put 2 same names in the database with same age:
Name Age
-------------------------------
Mark Jackson 20
-------------------------------
Mark Jackson 20
------------------------------
then I want to edit the second one with "Michel Jackson", why is it the first one also affected. Every changes I made on the second person affects the first one.
Name Age
-------------------------------
Michel Jackson 20
-------------------------------
Michel Jackson 20
------------------------------
How can I resolve this? I want it to make it like this:
Name Age
-------------------------------
Mark Jackson 20
-------------------------------
Michel Jackson 20
------------------------------
after the changes is being done.
Thank you.
Best regards
neil