Hi,
I want to select all rows where the value of the date column (fecha) is between to dates
the date column is set up like this: yyyy-mm-dd
I tried several mysql query's, for example:
SELECT * FROM table WHERE fecha >= $date1 AND fecha <= $date2
It keeps on giving me 0 results while there should be results.
What is the correct syntax to search on dates?
Thanks,
Raoul