title: Passing value from unchecked checkbox
body: <p>I have a following code in PHP and HTML </p>
  
  <pre><code>&lt;?php
      $count = 0;
      while ($row = mysqli_fetch_array($result)) {
      ?&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;input name="tableRow1[&lt;?php $count; ?&gt;]["InvoiceNum"]" id="InvoiceNum" type="text" value="&lt;?php echo $row['InvoiceNum'];?&gt;" &gt;&lt;/input&gt; &lt;/td&gt;
              &lt;td&gt;&lt;input name="tableRow1[&lt;?php $count; ?&gt;]["StoreName"]" id="StoreName" type= "text" value="&lt;?php echo $row['StoreName'];?&gt;" &gt;&lt;/input&gt;&lt;/td&gt;
              &lt;td&gt;&lt;input name="tableRow1[&lt;?php $count; ?&gt;]["Driver"]" id="Driver" type= "checkbox" value= "&lt;?php echo $login_session;?&gt;" &gt;&lt;/input&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;?php $count++;
                  }
          ?&gt;
      &lt;/tbody&gt;
          &lt;/table&gt;
  &lt;?php 
      } 
  ?&gt;
  </code></pre>
  
  <p>I have an array and it gets value from 2 column of a database and 1 user input from checkbox. And I am trying to pass value from unchecked checkbox, but I haven't been successful so far. I tried to use <code>&lt;hidden&gt;</code> too but still no success yet.</p>
  
  <p>If someone can help me pass both checked and unchecked value from checkbox I shall be highly grateful.</p>