dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
1
share rss forum feed


Inssomniak
The Glitch
Premium
join:2005-04-06
Cayuga, ON
kudos:2
reply to cdru

Re: Need help with mysql command

said by cdru:

Try something like:

SELECT * FROM your_table_name
WHERE DATE_ADD(NOW(), INTERVAL -60 SECOND) > expires
 
If that returns the records you'd expect to delete, change "SELECT *" to "DELETE"

Awesome thanks that worked perfectly!

--
OptionsDSL Wireless Internet
»www.optionsdsl.ca