I am tring to find a way to query a mysql db based on the date stamp.
I need to select the number of rows where date is between today and "X" date.
Once I have the sum I need to delete any records that are older than "X" date.
Does anyone know how this can be done?
The only information I have found is on getting the date and converting it. Please help.
Thanks in advance.
John