In the code below how do I just display the month of january. The code is set to output upto dec31 but I only want it to do is show january.
<?
$time=mktime(12,0,0,1,1,date("Y"));
$endtime=mktime(10,0,0,1,1,date("Y")+1);
while ($time<$endtime) {
$name=strtolower(date("Mj", $time));
if ($$name==''){ ?>
<? echo"$name"; ?>
<? } elseif ($$name=='check') { ?>
<s><strong></b><font color="red"><? echo"$name"; ?></s></strong></b></font>
<? } ?>
</td>
<td> <?
$time+=24*3600;
}
?>