title: How to read multiple check box values,when post the form?
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Code is
  
  $sql2="select *from pageper where userid='$eid'";
      $result_tag= $db-&gt;query($sql2);
      while($crow=$db-&gt;fetchArray($result_tag)) {
     
     $psql2="select *from pages where apage_id='".$crow['page_id']."'";
      $presult_tag= $db-&gt;query($psql2);
      $prow=$db-&gt;fetchArray($presult_tag);
      $pname= $prow['page_name'];
  ?&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;?php echo $prow['page_name']; ?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="checkbox" name="&lt;?php echo 'add['.$prow['apage_id'].']['.$eid.']'; ?&gt;" value="&lt;?php echo ($crow['isadd']==1)?1:0; ?&gt;" &lt;?php if($crow['isadd']==1) echo 'Checked'; ?&gt;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="checkbox" name="&lt;?php echo 'list['.$prow['apage_id'].']['.$eid.']'; ?&gt;" value="&lt;?php echo ($crow['islist']==1)?1:0; ?&gt;" &lt;?php if($crow['islist']==1) echo 'Checked'; ?&gt;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="checkbox" name="&lt;?php echo 'edit['.$prow['apage_id'].']['.$eid.']'; ?&gt;" value="&lt;?php echo ($crow['iedit']==1)?1:0; ?&gt;" &lt;?php if($crow['iedit']==1) echo 'Checked'; ?&gt;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="checkbox" name="&lt;?php echo 'view['.$prow['apage_id'].']['.$eid.']'; ?&gt;" value="&lt;?php echo ($crow['isview']==1)?1:0; ?&gt;" &lt;?php if($crow['isview']==1) echo 'Checked'; ?&gt;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type="checkbox" name="&lt;?php echo 'delete['.$prow['apage_id'].']['.$eid.']'; ?&gt;" value="&lt;?php echo ($crow['isdelete']==1)?1:0; ?&gt;" &lt;?php if($crow['isdelete']==1) echo 'Checked'; ?&gt;&gt;&lt;/td&gt;
   &lt;input type="hidden" name="eid1" value="&lt;?php echo $eid; ?&gt;"&gt;
  &lt;/tr&gt;
  &lt;?php
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to read multiple checkbox values which we assign dynamic values?</p>
  
  <p>Please post the answer solution.</p>
  
  <p>Thanks in Advance.</p>