Se è un file html basta aggiungere (lì dove vuoi far comparire il testo)
e rinominare il file index.html in index.phpCodice PHP:
<?
mysql_connect('localhost','user','pass');
mysql_select_db('nomedatabase');
$q = 'SELECT * FROM eventi ORDER BY id DESC LIMIT 1';
$h = mysql_query($q);
$evento = mysql_fetch_array($h);
echo $evento['data'];
mysql_close();
?>
![]()