among other things, i am storing date data in mysql. it is stored as yyyy-mm-dd. i can pull the data and display it via
<?=$row["stored"]?>
, "stored" being the date. what i want to do if have an if statement that says
if "stored" is less than 7 days old, it echoes new.gif.
I am fine with regular if statements, but haven't worked with dates much at all. can anyone help me with this?