prepare($sql); $stmt->execute(array($titel, $inhalt, $lat, $lng)); echo $db->lastInsertId(); header("Location: https://751068-4.web.fhgr.ch/"); die(); ?>