prepare($sql); $stmt->execute(array($titel, $inhalt, $lat, $lng, $bilder)); echo $db->lastInsertId(); header("Location: /"); die(); ?>