Si hasta ahí más o menos habia llegado.
Pero me muestra todos los resultados uno detrás de otro, sin hacer distinción entre fechas.
Utilizo lo siguiente:
Código PHP:
$sql = "SELECT * FROM noticias ORDER BY fecha DESC";
$resultado = mysql_query($sql) or die (mysql_error());
while ($fila=mysql_fetch_object($resultado))
{
echo $fila->titulo_noticia;
}
Si quiero mostrarlos de la forma anterior, es decir, de esta forma:
--------------------------------------------
Día: 2007-11-12
--------------------------------------------
Noticia 1
Noticia 2
Noticia 3
--------------------------------------------
Día: 2007-11-13
--------------------------------------------
Noticia 4
Noticia 5
Noticia 6
¿Qué debo hacer?