checkbox on change submit form code example Example: checkbox onchange submit form checkbox_state == 1) { echo 'checked' }; ?>>