function DisplayThreads()
{
$result=mysql_query("select min(datestamp),topic,thread from forum group
by thread order by topic") or die ("Can't Preform query
1");
echo"\n";
}
Function SetHeader()
{
echo"
WebThreads powered by PHP3
";
}
switch($command)
{
case 1 : SetHeader();
echo "