Just to let you guys know I tried a number of examples from Stackoverflow with no luck although this may look like a duplicate it's not.
I need to remove duplicate links from an array that have the same date. Duplicates links that do not have the same date should not be removed. Please have a look at the array. I would really appreciate if someone can help me out I'm stuck on this one.
[0] => Array(
[link] => Array
(
[S] => /link1.php
)
[date] => Array
(
[S] => 06/15/2019
)
)
[1] => Array(
[link] => Array
(
[S] => /link1.php
)
[date] => Array
(
[S] => 06/14/2019
)
)
[2] => Array(
[link] => Array
(
[S] => /link1.php
)
[date] => Array
(
[S] => 06/15/2019
)
)
[3] => Array(
[link] => Array
(
[S] => /link2.php
)
[date] => Array
(
[S] => 06/15/2019
)
)