Jump to content

tbode2021

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by tbode2021

  1. <input class="form-check-input" type="checkbox" id="a201" name="a201" value="a"> <label class="form-check-label" for="a201">Acetaminophen</label> $score = (isset($_POST['a201']) && $_POST['a201']=='a')? 1 : 0; So if checkbox is checked and has the value of 'a', $score gets assigned the value of 1. Otherwise $score gets assigned the value of 0?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.