Page 1 of 1

question

Posted: Fri Jan 23, 2004 10:59 pm
by stylezeca
question, im trying to do this calendar to grab a certain month to display the correct calendar

<? include("calendar/" . strtolower(date("F")).".html"); ?>
<? include("calendar/" . strtolower(date("F", strtotime("+1 month", time()))).".html"); ?>

that code work it grabs january.html etc... but i want it to detect what year like

january2004.html or february2005.html, i want it to detect the year to, that would be great if you could help , thanks!!!

Posted: Sat Jan 24, 2004 1:23 am
by McGruff
See the date() fn, php manual.