$custdata=array();
$custdata[] = array(
"firstname" => $row['firstname'] ."<br /> <br />",
"lastname" => $row['lastname'] ."<br /> <br />",
"email" => $row['email'] ."<br />",
"date" => $row['date'] ."<br />"
);
This is my array. My persons duplicates, so I can see the same person 1 , 2 ,3 or 5 times in array If i print it. How to remove duplicated values? But I need to do it by DATE. If person exist in array only the newest date leave in array.