'$last_month' ORDER BY data ASC"; $rs = mysql_query($sql); $vuoto = 0; while ($row = mysql_fetch_assoc($rs)) { $dataita = date("d/m/Y",$row['data']); $dataeng = date("m/d/Y",$row['data']); $luogo = $row['luogo']; $testo_ita = $row['testoita']; $testo_eng = $row['testoeng']; $link = $row['link']; $id = $row['id']; $vuoto = 1; print '

'; print '
'; print $testo_ita; print '
info'; } else { print '">' . $dataeng . ' - ' .$luogo .'
'; print '
'; print $testo_eng; print '
info'; } print '
'; } if ($vuoto == 0) echo "Attualmente non ci sono date in programma"; ?>