I have a system in PHP
in which I use the datatables plugin, I can sort by date, but the user wants to set the query period, for example:
Select from 01/01/2016 to 01/31/2016 and all data for that period is displayed.
I have to create the fields for the user to select the desired search month and with this I need to create a query for each month of a given year that the user select or there is another way, what to do in that case? >
Example: I would have to do a query for Jan, Feb, Mar, April .. and per year 2015, 2016, 2017 and ...?