i need to find a date that is a certain
number of days before today's date. is
there a certain function to use?
There's lots of them:
http://www.php.net/manual/ref.datetime.php
What you need to do is get the current timestamp using time(), take away however many days you want to back (in seconds, so a day = 24 x (60 x 60)), and then use getdate() to figure out the date.
adam