Forum Moderators: coopster
//MONTH (june)
$timestamp = time();
$month_start_time = strtotime("june 00:00:00");
$month_end_time = strtotime("june 23:59:59");
$date = time();
if (date('m') == date('m',strtotime('june'))) {
$data = mysql_query("SELECT `items` FROM `log` where `timestamp` >= '".$month_start."' AND `timestamp` <= '".$month_end."'")
or die(mysql_error());
$month=mysql_num_rows($data);
Print "<tr>";
Print "<td class='userbg'><font class='userft'>Order : $month</font></td></tr>";
} else {
Print "No Order";
Print "</table>";
print "\n";
}