Why not get a variable through POST?

Why not get a variable through POST?
there is a form
form method="POST" action="load.php">
 <center> 
Your Gender: <input type="radio" name="gender" value="Masculin"> Masculin
<input type="radio" name="gender" value="Feminin"> Feminin

<input type="text" name="name" placeholder="Ex: 772427272" style="width: 400px; height: 60px;font-family: 'Raleway', sans-serif;font-size: 25px; padding-left: 15px;border: 1px solid #CCCCCC; border-radius: 0px;margin-top: 10px;margin-left: 119px;box-shadow: #A9A9A9 2px 0px 0px;">
</center>
<input type="submit" class="button_find" value="Click!" onclick="ValidateForm(this.form)">
<style>
 .descr { visibility: hidden; }
 .b:hover + .descr {
 visibility: hidden;
}
</style>
<br / >
<br / >
 <div class="descr">
<select name="idShare">
<option value="<? echo $id;?>">test</option>
<option value="sdsgddsg">asfasfsaf</option>
text:
 </select><input type="radio" name="idQuiz" value="<? echo $idTema;?>" checked> Internet Explorer<br>
 <input type="radio" name="idQuiz" value="opera"> Opera<br>
<p></p>
</div>


 <br / >

in the file load.php no values
$genulUser = $_POST['gender'];
var_dump($genulUser); // scring 0 " "

where is the value ?
July 8th 19 at 15:29
2 answers
July 8th 19 at 15:31
I didn't notice the SUBMIT button or it's not here? As sending is that?

P. S. this code, as this form is a sin.
input type="submit" class="button_find" value="Click!" onClick="ValidateForm(this.form)" - ella.Feil commented on July 8th 19 at 15:34
What's in the onClick="ValidateForm(this.form)" comes? - Jacinto22 commented on July 8th 19 at 15:37
: it's obvious from the title. - Brody_Dickins commented on July 8th 19 at 15:40
really? You can see the code of a function just by looking at its name? On the fence, you know, also written... - Jacinto22 commented on July 8th 19 at 15:43
: there is validated) And because sending did not seem to depend on the result not that interesting. (of course maybe there is PreventDefault which is unlikely) - Brody_Dickins commented on July 8th 19 at 15:46
: well I do not look, do not know. - Jacinto22 commented on July 8th 19 at 15:49
July 8th 19 at 15:33
1.

2. onClick="return ValidateForm(this.form);"
If ValidateForm returns false the upload will not happen. (must be true)

Find more questions by tags CSSHTMLPHPJavaScript