te la cavi con un unico while:
Codice PHP:
$res mysql_query("SELECT DATE_FORMAT(tuo_campo_data,'%Y-%m-%d') as newDate,nome,messaggio FROM tuatabella") or die("Error: ".mysql_error());

while(
$row mysql_fetch_array($res))
{
  echo 
$row['newDate']." - ".$row['nome']." - ".$row['messaggio'];

ciao