Error codes are the best! What is php trying to tell you?
"No such file functions..php"
Check to see if you Double dotted the functions.php file in the index.php file?
syntax error, line 11, functions.php
Syntax error is a fancy way to say you mest up the proper formatting and here is what line php thinks it is mest up on and go check that line number. If we go check that line number we see this there.
$scenenews .=<a href="/forums/index.php/topic,$ID_TOPIC.2.html\" class=\"Index_03\">$subject</a><br/>";
and the error is the missing double quote at the start of it.
Side note this will output where you put it. So, you don't need it at the very top of the index.php page unless you want it to output before anything else is shown. You can put it where the <div class="Index_03"> is located.
<?php
$dbh = mysql_connect("localhost", "team_del_smf1", "stanton2") or die(mysql_error());
$db = mysql_select_db("team_del_smf1");
$query = mysql_query("SELECT `ID_TOPIC` FROM `smf_topics` WHERE `ID_BOARD`= '3' ORDER BY `ID_LAST_MSG` DESC LIMIT 8");
while (list($ID_TOPIC) = @mysql_fetch_array($query))
{
$query2 = mysql_query("SELECT `subject`, `posterName` FROM `smf_messages` WHERE `ID_TOPIC`='$ID_TOPIC' limit 1");
list($subject, $posterName) = @mysql_fetch_array($query2);
$scenenews .= '<a href="/forums/index.php/topic,$ID_TOPIC.12.html" class="Index_03">'.$subject.'</a><br />';
}
echo $scenenews;
?>
On the other hand you did teach me something a bit nifty and i have to check out for speed. The list on the fetch command.