Need syntax help when it comes to using a timestamp.
What I'm trying to say in my query WHERE clause is to select records if the
timestamp on the record is in the past 7 days from NOW()

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

the lay language is  WHERE stamp is within the past 7 days.... how to php
that? lol

Happy Freecycling
Free the List !!
Over Moderation of Freecycle List Prevents Post Timeliness.
<a href="";
title="Terion Miller's Facebook profile" target=_TOP><img src=""; border=0
alt="Terion Miller's Facebook profile"></a>
Vince Lombardi  - "Winning is habit. Unfortunately, so is losing."

Reply via email to