I have the following query returning all rows from my table:
$query="SELECT * FROM $tbl_name ORDER BY job_id DESC";
I’d like to limit those results by entries less than 60 days old. I record the date an entry was made to the database using:
$dt=date('d M Y');
And this is stored in a column called ‘date’.
Can someone help me to modify my query?
Thanks
Dan
1 Answer