This one should work.

This commit is contained in:
Jeff Teunissen 2001-05-06 03:03:58 +00:00
parent ecf4ef49a1
commit 4483b8109d

View file

@ -198,11 +198,12 @@
if (((!is_int ($year)) || $year < 2000)) {
$year = date ('Y', time ());
}
if ($month < 1 || $month > 12) {
$month = date ('m', time ());
}
$date = "00-01";
$date = sprintf ("%02d-%02d", $year - 2000, $month);
if (sqlAvail) {
$conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass);