Array Help
Moderator: General Moderators
Array Help
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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
http://www.php.net/date