Why is the server getting bool true when the checkbox isn't checked? I did a variable dump because it was sending email to all the emails when the checkbox was not even checked. Below is my PHP and below that one is the html form
<?php
$fname = htmlspecialchars($_POST['fname']);
$lname = htmlspecialchars($_POST['lname']);
$email = htmlspecialchars($_POST['email']);
$cell = htmlspecialchars($_POST['cell']);
//Form Items
$ferventfoodies = htmlspecialchars($_POST['ferventfoodies']);
$whatsnext = htmlspecialchars($_POST['whatsnext']);
$youngcouplesmentorship = htmlspecialchars($_POST['youngcouplesmentorship']);
$itsnotaboutme = htmlspecialchars($_POST['itsnotaboutme']);
$wedensdaynightbiblestudy = htmlspecialchars($_POST['wedensdaynightbiblestudy']);
$theconversation = htmlspecialchars($_POST['theconversation']);
var_dump(isset($ferventfoodies));
var_dump(isset($whatsnext));
var_dump(isset($youngcouplesmentorship));
var_dump(isset($itsnotaboutme));
var_dump(isset($wedensdaynightbiblestudy));
var_dump(isset($theconversation));
?>
Form
<form action="https://1moment.today/gg-submission.php" method="post">
<input type="checkbox" id="ferventfoodies" name="ferventfoodies">
<label for="ferventfoodies"></label>
<input type="checkbox" id="whatsnext" name="whatsnext" >
<label for="whatsnext"></label>
<input type="checkbox" id="youngcouplesmentorship" name="youngcouplesmentorship">
<label for="youngcouplesmentorship"></label>
<input type="checkbox" id="theconversation" name="theconversation">
<label for="theconversation"></label>
<input type="checkbox" id="itsnotaboutme" name="itsnotaboutme">
<label for="itsnotaboutme"></label>
<input type="checkbox" id="wedensdaynightbiblestudy" name="wedensdaynightbiblestudy">
<label class="overflow" for="wedensdaynightbiblestudy">
</label>
<input type="submit" value="Submit">
</form>