"; //echo "The calculation yields " . date("F",mktime(0, 0, 0, date("m")+1, date("d"), date("Y"))); //echo "

"; $_SESSION['themonth'] = date("F",mktime(0, 0, 0, date("m", strtotime($_SESSION['themonth']))+1, date("d"), date("Y"))); //echo "The month will now change to " . date("F", strtotime($_SESSION['themonth'])); } if ($_GET['action'] == 'b') { //echo "The month is currently " . date("F", strtotime($_SESSION['themonth'])); //echo "

"; //echo "The calculation yields " . date("F",mktime(0, 0, 0, date("m")-1, date("d"), date("Y"))); //echo "

"; $_SESSION['themonth'] = date("F",mktime(0, 0, 0, date("m", strtotime($_SESSION['themonth']))-1, date("d"), date("Y"))); //echo "The month will now change to " . date("F", strtotime($_SESSION['themonth'])); } header("Location: events.php#calendarrf"); ?>