I have a forum and I have a image on the left of the post and I want it to tell whether the image is new or old.
A on and off image....
I have a lastvisit cookie that is set when you view the forum so if I do like:
if ($lastvisit2 > $postdate){$image = "on.gif";}else{$image = "off.gif";}
and then in the spot of the image echo"$image";
Would this work??