I want to send a variable via POST. The variable should not be in the URL like in this formular:
<form action="index.php?content=contact" method="POST">
<a class="article-input-a">Name:</a><br><input name="name" type="text" maxlength="30"><br>
<a class="article-input-a">E-Mail Adresse:</a><br><input name="email" type="text" maxlength="30" placeholder="beispiel@email.de"><br>
<a class="article-input-a">Website:</a><br><input name="website" type="text" maxlength="40" placeholder="www.beispiel-website.de"><br>
<button class="button" name="submit" type="submit">Beitrag erstellen</button>
</form>
In this formular i can send the variables, but i dont see them in the URL.
And i can get the variables over $_POST['name']
. Now i want to send the variable $random with the formular submite button.
I hope you can undestand me.