$sql = mysql_query("SELECT DISTINCT(campofecha) AS fecha FROM tabla");while ($row = mysql_fetch_array($sql)){echo $row["fecha"]."<br>";}