Great guys thanks for the help... but I dont think this method will work for me... is there some way to re-write my script so that it will work? Because the script also takes the "ID" value of the row and removes the image from a directory that is associated with that row. Here is the script...
$year=date('Y');
$month=date('m');
$day=date('d');
$removeit = strftime("%Y-%m-%d", mktime(0,0,0,$month,$day-90,$year));
$results = mysql_query("SELECT * FROM table WHERE CREATED='$removeit'");
while ( $rows = mysql_fetch_array($results) ) {
$id=$rows[ID];
@("DELETE FROM table WHERE ID='$id' LIMIT 1");
@unlink("/home/user44/public_html/images/$id.jpg");
}