going to try some different things out... the if statement didnt work cuz when i didnt put a query string at the end of the page name when going to it it complained about month being an undefined index...
if(!isset($_GET['month']) || $_GET['month'] <= 0 || $_GET['month'] > 12)
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php