<?php
require('classes/config.php');
include "inc/db.php";
$db = new db();
if(!empty($_POST['aid'])){
if($db->query('INSERT INTO meldung SET aid = "'.$_POST['aid'].'", grund = "'.$_POST['meldung'].'"')){
}
header('Location: meldenok.php?id=' . $_POST['aid'] . '&r=ok');
exit();
}
?>