Below is my code i want to remove duplicate value selected from the database using array_unique() not DISTINCT in mysql query please i need help with this Thanks
$query2 = "SELECT * FROM place";
$result2 = mysql_query ($query2) or die('query error');
while( $line2 = mysql_fetch_assoc($result2)){
$e = $line2['event_title'];
$array = array($e);
$result = array_unique($array);
echo $result;
}