prepare($query); $stmt->bind_param("i", $headId); $stmt->execute(); header("Location: base.php"); exit();