hey guys i have an array in php and it contains some records twice, trice or so. I only want to list those records once while fetching array elements. eg. "entry 1" comes five times in the array then i want to display it only once and then next element. if i give print_r($array) comment then it show results like this.
Array ( [0] => Nueva Andalucia [1] => Nueva Andalucia [2] => Marbella East [3] => Golden Mile [4] =>
can anyone tell how to do this?
thanks.