Hello,

Tuesday, April 12, 2005, 8:33:08 PM, you wrote:

JJ> I'm struggling with the php or mysql query to find records within
JJ> my database that are within 15 minutes from now and prior.

Assuming MySQL:

SELECT * FROM blah WHERE RecordTime > DATE_SUB(now(), interval
15 min)

(something like that, going from memory here)

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I do not fear computers. I fear the lack of them." - Isaac Asimov

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to