I currently have the problem that the value from the input type hidden "var" doesnt exist :(
<form id ="bewerbung" name = "bewerbung" action="./edit" method="POST">
<div class="form-group">
<input type="hidden" value="Supporter" id ="type" name="type" />
<button type="submit" value="Submit" class="form-control-submit-button">Bewerbung</button>
</div>
The edit page :
if (isset($_POST['type'])){
echo "set";
}else {
echo "not set";
}
the output : not set :/
Thanks @Aaron, the final Solution was to add an "/" at the end of the action. just like :
<form method="POST" action="./edit/">