Collect input type data with php

0

Hi, I would like to know if I'm doing something wrong or if it's done differently, I want to collect the value of an input type with php, then make a query, and sort the records by date.

a greeting

<div class="form-group row">
        <label class="col-sm-1 col-form-label">Fecha:</label>
        <div class="col-sm-2">
            <input type="date" class="form-control" name="fecha" id="fecha" style="width: 125% !important;"/>
        </div>
    </div>

$fecha = $_POST["fecha"];

    
asked by Sr. J 05.04.2018 в 12:49
source

0 answers