Marc Steinert wrote:
Terion Miller wrote:

$query .= " WHERE stamp < NOW()-7 ";  I have no clue here on this ....

Try

$query .= " WHERE stamp < SUBDATE(NOW(), INTERVAL -7 DAY)";

instead.

Marc


Damn, hit the send-button too fast. Replace -7 with 7. Sry for spamming the 
list.

--
http://bithub.net/
Synchronize and share your files over the web for free


My Twitter feed
http://twitter.com/MarcSteinert





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

Reply via email to