PHP multiple checkbox save values in array like i clicked them
Hello i use a code that i found here but i have a problem.
How do I stop the array from updating itself and only displaying the last task
<h1>Calendar and Task Creator</h1> <div class=”navigation-text”>Click the arrows to switch between months</div> <div class=”navigation-text”>Click the dates to create tasks</div> <?php $month = isset($_GET[‘month’]) ? $_GET[‘month’] : date(‘n’); $year = isset($_GET[‘year’]) ? $_GET[‘year’] : date(‘Y’); // Links $prevMonth = ($month == 1) ? 12 : $month – 1; $prevYear = ($month == 1) ? $year – […]
How do I stop the array from updating itself
<h1>Calendar and Task Creator</h1> <div class=”navigation-text”>Click the arrows to switch between months</div> <div class=”navigation-text”>Click the dates to create tasks</div> <?php $month = isset($_GET[‘month’]) ? $_GET[‘month’] : date(‘n’); $year = isset($_GET[‘year’]) ? $_GET[‘year’] : date(‘Y’); // Links $prevMonth = ($month == 1) ? 12 : $month – 1; $prevYear = ($month == 1) ? $year – […]