get('username'))) { $redirect->url('/novaconium/login'); $messages->error('You are not loggedin'); makeitso(); } $messageid = $router->parameters['id']; $query="DELETE FROM contactForm WHERE `contactForm`.`id` = ?"; $db->query($query, [$messageid]); $redirect->url('/novaconium/messages'); $messages->notice("Removed Message $messageid"); makeitso();