i having a problem in cleaning data from the entry in database.
so i have a table "users" with the field (id, name, email, phone)
the problem i have is to delete the duplication based on the phone number. i have around 30k of data entry and i need to make sure that each of the data in the table must consist a record with different "phone number" bcoz right now what i have is (example: 3 same people with the same phone number
name: Phone No:
john 1234
john 1234
john 1234
i only need to keep one record with one phone number.
is there any php script than can work on this case faster.hope you guys can help me.