LJackson
03-02-2009, 10:11 AM
Hi All,
i want my website to check all the records in my codes table and delete the records where the expiredate is less than "todays" date, so there is never any old data displayed.
would it be something like this
DELETE * from codes WHERE expiredate > today()
would that work?
cheers
i want my website to check all the records in my codes table and delete the records where the expiredate is less than "todays" date, so there is never any old data displayed.
would it be something like this
DELETE * from codes WHERE expiredate > today()
would that work?
cheers