php check if checkbox isset

Solutions on MaxInterview for php check if checkbox isset by the best coders in the world

showing results for - "php check if checkbox isset"
Nicole
03 Sep 2020
1<?php
2  if(isset($_POST['checkbox']) {
3	// runs if checkbox is checked 
4  } else {
5    // runs if checkbox is not checked
6  }