php check if checkbox isset
<?php
if(isset($_POST['checkbox']) {
// runs if checkbox is checked
} else {
// runs if checkbox is not checked
}
Are there any code examples left?
New code examples in category PHP
<?php
if(isset($_POST['checkbox']) {
// runs if checkbox is checked
} else {
// runs if checkbox is not checked
}