I can't figure out why my checkbox is always evaluating to "yes" regardless of what is checked.
the html:
<input type="checkbox" name="email" id="email" value="yes">Yes<br>
<input type="checkbox" name="email" id="email" value="no" checked >No<br>
which is being accessed by
var email = document.getElementById('email').value;
and the php is just $_GET-ing the value of 'email' but it always processes it as it being set to "yes".