title: How do I make multiple check boxes sticky on PHP?
body: <p>I am trying to make multiple checkboxes reappear after a failed/incomplete form submission. I am attaching the code below:</p>
  
  <pre><code>&lt;div id="left_bottom_box"&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;Admissions&lt;input type="checkbox" name="info" value="admissions"  tabindex="120" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'admissions') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;Financial Aid &amp; Scholarships&lt;input type="checkbox" name="info" value="aid" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'aid') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;Athletics&lt;input type="checkbox" name="info" value="athletics" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'athletics') echo 'checked';?&gt; /&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;International Student Services Center&lt;input type="checkbox" name="info" value="interntional" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'interntional') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;SEEK Educational Opportunity Program&lt;input type="checkbox" name="info" value="seek" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'seek') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;William and Anita Newman Library&lt;input type="checkbox" name="info" value="library" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'library') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt; &amp;nbsp &lt;label&gt;Baruch Performing Arts Center &lt;input type="checkbox" name="info" value="arts" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'arts') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div id="right_bottom_box"&gt;
      &lt;p&gt;&lt;label&gt;Honors Program&lt;input type="checkbox" name="info" value="honors" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'honors') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;Clubs and Organizations&lt;input type="checkbox" name="info" value="clubs" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'clubs') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;Academic Advisement&lt;input type="checkbox" name="info" value="academic" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'academic') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;Housing&lt;input type="checkbox" name="info" value="housing" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'admissions') echo 'housing';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;STARR Career Development Center&lt;input type="checkbox" name="info" value="starr" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'starr') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;Wasserman Trading Floor/Subotnick Financial Services Center&lt;input type="checkbox" name="info" value="trading" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'trading') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;Debate Team&lt;input type="checkbox" name="info" value="debate" &lt;?php if ($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; $_POST['info'] == 'debate') echo 'checked';?&gt;/&gt;&lt;/label&gt;&lt;/p&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I thought this was going to work fine, since it did so with text, but every time I reload the form only the last checked box remains checked. Can someone please help?</p>
  
  <p>Thank you!</p>