You can assign a value for the year, month, day.
ex.
$day = date("d");
$month = date("m");
$year = date("Y");
You will then need to perform some checks to account for the first month in the year, the beginning of the month and adjust the 7 days prior accordingly. By now you should have your date which is 7 days before the current date. Assign these values back to the $day, $month, and $year. Now perform your query. If you have the column in the DB setup as a date format you can use the following query.
$query = "Select * from dates_to_remember";
$result = mysql_query($query) or die(mysql_error() . " error querying database");
while($row = mysql_fetch_array($result)){
if ($row['date'] == $year . "-" . $month . "-" . $day )[
echo "Today is the date. Send and email, call or forget about it.";
}
}