{php} $res = mysql_query("select * from `video` ORDER BY `addtime` DESC LIMIT 15"); while($data = mysql_fetch_array($res, MYSQL_ASSOC)) { $normaldate = "$data[adddate]"; $datewp = explode("-", $normaldate); $currentdate = date('F j Y'); $viddate = date('F j Y', mktime($datewp[1],$datewp[2],$datewp[0])); $otherdate = $viddate; if ($viddate == $otherdate){ echo"