I keep getting this error:
The code of that file is:
Any ideas?
Parse error: parse error, unexpected $end in c:\program files\apache group\apache\htdocs\twf1\upload\templates\forumhome-postlevel1.php on line 17
PHP Code:
<?php
$forumid = $HTTP_GET_VARS['forumid'];
if($numt==0) {
include("forumhome-nothreads.html");
} else {
$threadgetquery = 'SELECT * FROM `threads` WHERE `forumid` =$forumid;
$threads = @mysql_query($threadgetquery);
while ($rowthreads = mysql_fetch_array($threads)) {
$timethread = $rowthreads[6];
$timethreadHMA = date("F j, Y g:i a", $timethread);
$threadid = $rowthreads[1];
$threadsubject = $rowthreads[2];
$threadusername = $rowthreads[7];
include("forumhome-postlevel1.html");
}
}
?>
Comment