i ran it on my server, ive been tinkering with it and it still doesnt work. when i made a seperate file for my functions then do a include on my index , most of my fields are missing and i get an error inside one of my content fields.
I have this inside my div like so:
<div id="name">
<?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`='8' 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'");
list($subject, $posterName) = @mysql_fetch_array($query2);
$scenenews .=<a href=\"/forums/index.php/topic,$ID_TOPIC.2.html\" class=\"Index_03\">$subject</a><br/>";
}
?>
</div>
on top of my index i have a php include but i realized theres no point cause its not a seperate file anymore so idk what to do. i need help with the coding i have.
my email/msn is sun_rize@live