$lastday && $currentdays ==1 && ($diffdays1)){
for($x=$lastday;$x>=0;$x--){
$printdays = $days-$x;
print($printdays );
}
for($z=1;$z print( );
}
for($y=$firstday;$y print($currentdays );
$currentdays++;
}
} elseif($firstday!=0 && $currentdays==1){
for($z=1;$z print( );
}
for($y=$firstday;$y print($currentdays );
$currentdays++;
}
} else {
for($u=1;$u print($currentdays );
$currentdays++;
}
}
print(
);
}
print(
);
}
}
?>
http://www.bkjia.com/phpjc/314607.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/314607.htmltecharticle?php /* function written by nelson neoh @3/2004. for those who wants to utilize this code, please do not remove this remark. if you have done any enhancement to this code, please p...