FAIL]
");
}
// get data that sent from form
$topic=$_POST['topicid'];
$sql="DELETE FROM ". $tbl_name ." WHERE id='".$topic."'";
$result=mysql_query($sql);
$tbl_name="forum_answer";
$sql="DELETE FROM ". $tbl_name ." WHERE question_id='".$topic."'";
$result1=mysql_query($sql);
if($result && $result1)
{
header ("Location: ".$moduleurl."&uebergabe=0&uebergabe2=2&uebergabe3=1");
}
else
{
echo "ERROR";
}
mysql_close();
?>