I am using phpbb forum and tried to link the forum from index page of website by including php files that contain following code:

$result = mysql_query("select * from phpbb_topics WHERE forum_id = 5 ORDER BY topic_id DESC LIMIT 0,10");
echo "&raquo;";
echo "&nbsp;";
echo "<a href=forum/viewtopic.php?t=$link>";
echo $topic;
echo "</a>";
echo "<br>";

has following code

error_reporting(E_ALL ^ E_NOTICE);


$cnx = @mysql_connect($host, $db_user, $db_pwd) or die(" <br><p><font 
face='Verdana' size='2' color='red'><center><b> Cannot connect to the 
database at the current time.</b></center></p>" . mysql_error());

mysql_select_db($db, $cnx);


What's the problem?

You can visit the site at http://microbialworld.com/index1.php