Ok, its not giving me errors, but its not entering data into the database, ie
if ($action == 'dt'){
$sql=mysql_query("INSERT INTO `modded` (`modbod`,`board`,`topic`,`message`,`modby`,`moddedat`,`postedat`,`action`,`punishment`,`reason`,`moduser`) VALUES ('$messbod','$board','$topic','$message','$modby','".date('m/d/Y H:i:s')."','$postdat','Topic Deleted','$punishment','$reason','$uname')");
$sql=mysql_query("DELETE FROM `messages` WHERE messageid='$message'");
$sql=mysql_query("DELETE FROM `topics` WHERE topicid='$topic'");
}
Its not entering stuff, or deleting it.