HI
I Need to display an image when Category Update and that image display upto 3 days
i use this but not work
$todaytime = time();
$timestamp = $show_wallpaper['timestamp'];
$timediffirence = "360000";
$minus = $todaytime - $timestamp;
if ($timediffirence > $minus) {
$new = "<img src='$siteurl/images/new.gif' />";
} else {
$new = "";
}
database info
$sql = "SELECT SQL_NO_CACHE * FROM wallpaper WHERE categoryid = $catid order by wallpaperid desc LIMIT $from,$max_results";
so help me to fix it I do like this
IF Category Update then display this image for 3 days else remove image this is my task reply