John Butler wrote: > if($_POST['UserWishesDateRange']) { //--line 79 > echo'submitted'; > } else { > echo'NOT submitted'; > } Try this instead: if (isset('UserWishesDateRange'])) { // [...stuff goes here...] } James -- "Black holes are where God divided by zero." --Steven Wright -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php