Mijn forum staat op
http://www.formule1wereld.nl/forum
http://www.r3diensten.nl/~formule1/forum
In onderstaand scriptje heb ik toen veranderd:
Code: Selecteer alles
<? include_once ("phpBB2/config.php");
Code: Selecteer alles
<? include_once ("www.r3diensten.nl/~formule1/forum/config.php");
Code: Selecteer alles
<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.anouksweb.nl/style.css">
<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.anouksweb.nl/site.css">
<? include_once ("phpBB2/config.php");
$mysql_connection = mysql_connect ($dbhost, $dbuser, $dbpasswd) or die ("Connection failed");
mysql_select_db ($dbname) or die ("Selecting database failed");
$query = "SELECT topic_id,topic_title FROM phpbb_topics order by topic_id desc limit 5
";
$res = mysql_query($query);
while($data = @mysql_fetch_array($res))
{
echo " <a href=\"phpBB2/viewtopic.php?t=".$data["topic_id"]."\">".$data['topic_title']."</a><br>";
}
?>
Rens
p.s. Ik weet niet eens welk forum ik heb, wie weet het? PHPbb of PHPbb2...