I have to generate a menu for all months in a year, with each month broken down into two periods. For example:
January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc...
How can generate a list of all 12 months using the above format?
Well, seeing as that data is going to be the same NO MATTER WHAT YEAR IT IS, why don't you just hard code in? (I guess the FEB end date would change, but...)
$_CONF['month_array'] = array('January 01-15','January 15-31'...);
Also, if it is the 15th, which category does that fall into?
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php