0
How would the Mysql Query be for me to get all records of the selected month (using a select)?
Date field is of type Date.
SELECT * FROM tabel WHERE primeiro-dia-do-mes-x BETWEEN ultimo-dia-do-mes-x ORDER BY data ASC
I select the month and year in an HTML Select field, so on that date I will enter month and year being variable.
Thank you.
and does not take into account the year? will pick dates of a same month in different years, or only have at all times 1 year in the table?
– Ricardo Pontual