How can the issue of always passing the value of "anwesend" be resolved in the provided PHP code?

The issue of always passing the value of "anwesend" can be resolved by using a POST request instead of a GET request to submit the form data. This way, the value of "anwesend" will not be visible in the URL and will be securely passed to the PHP script.

<form method="post" action="auswertung.php">
    <input type="hidden" name="anwesend" value="1">
    <input type="submit" value="Submit">
</form>