I have this input to enter a date on my form:
<input type="date" class="form-control" name="fecha" placeholder="Fecha">
And I pick it up like this:
$pu_date=$_POST['fecha'];
But when it comes to pressing the button on the form, in which I have method=”post”, you don’t get it. It’s like the box is blank.