Page 1 of 1

Array Help

Posted: Wed Sep 28, 2005 4:04 pm
by icesolid
I want to put all of the months in a year into an array and then match that array to the current month and print out which month of the year it is.

Posted: Wed Sep 28, 2005 4:06 pm
by Ree
Why not use native PHP functions such as getdate()?

Posted: Wed Sep 28, 2005 4:07 pm
by Chris Corbyn
Any reason to do it using an array? PHP has functions for printing out the month of the year etc etc...

http://www.php.net/date