I have an array that looks something like this:I want some ideas regarding how I could check if there are no duplicate emails in my array. I don't want to remove duplicate email addresses, just return an error if there are any.Code:$Participant[1]['Name'] = 'Husain'; $Participant[1]['Email'] = 'some@email.com'; $Participant[2]['Name'] = 'Someone'; $Participant[2]['Email'] = 'some@email.com';
The size of the array is pre-determined.
Hope to get some bright ideas![]()






Bookmarks