I have a text file in the form of Name@Phone\n
. I put the data into an array with explode()
. How can I remove duplicate lines (values) based on Phone only? I want to avoid
Eddie@999-999-999
Ed@999-999-999
I want to make this unique based on the Phone.