I am having issues with duplicate entries in my complex multidimensional array:
Backend PHP Code: [url removed, login to view]
Array Output: [url removed, login to view]
The end result is I do not duplicate entries for the email_data array.
I have tried using deduplication functions as well as array_unique and array_merge techniques. I do not want to merge the entries - if they have the same email_id, I only want 1 of the array entries. I would like to solve this without changing the query. And to fix the PHP on the backend.