Here is my current mysql table
id | file | expiry_date
---------------------------------------
1 | sample.zip | 2010-02-03 11:07:03
2 | sample2.zip | 2010-07-13 11:07:03
Query:
SELECT *
FROM download
WHERE expiry_date` `how to validate here`
I want to validate if expiry_date is expired the file cannot download.
How to do that?
or