I am creating an HTML date filter so that the SQL query can return a specific value to me.
I'm just trying to pass this information on because the form option needs to appear in the month as <option>Março</option>
.
My SQL query looks like this:
select codigo, id_usuario, codigo_usuario, data, hora, despesa, valor, modo, observacao, estabelecimento, genero, tipo from despesa where id_usuario = 1 and data between '2015-Março-01' and '2015-Março-31' ;
I would like to be able to select the March option in the form and it will change that month to 03, so I can do a select right.
I was just wondering if there is an easier way to do this right in the direct HTML form.
Thank you.