Codice PHP:
<?php
include("forum/config.php");
$db = mysql_connect($dbhost, $dbuser, $dbpasswd);
if ($db == FALSE)
die ("Errore nella connessione. Verificare i parametri nel file config.inc.php");
mysql_select_db($dbname, $db)
or die ("Errore nella selezione del database. Verificare i parametri nel file config.inc.php");
$query = "SELECT * FROM phpbb_posts ORDER BY post_time DESC LIMIT 0, 5";
$res = mysql_query($query);
$array = mysql_fetch_array($res);
echo "".$array[0]."";
?>
Ho risolto così... ma non esce nulla...