submit php form checked checkbox -


i can't submit checked bar of form. when submit, submit last bar of form. please me how submit checked bar?

<table border="1" align="left"> <?php       echo '<th>stock name</th>';     echo '<th>price</th>';     echo '<th>amount</th>';     echo '<th>buy ?</th>'; ?> <form method=post action=inputer.php > <input type=hidden name=idcustomer value="<?php echo $idcustomer ?>" /> <?php $show=mysql_query("select * `tblstock`");   while($result=mysql_fetch_array($show))  { ?> <input type=hidden name=idstockname value="<?php echo $result[0] ?>" /> <?php   echo'<tr><td>'.$result[1].'<input type=hidden name=stockname value='.$result[1].'/></td>';      echo'   <td>'.$result[3].'<input type=hidden name=price value='.$result[3].'/></td>';     echo'   <td><input type=number name=amount /></td>';     echo'   <td><input type=checkbox name=choose />yes</td>         </tr>'; } ?> <?php echo '</table><input type=submit value=choose />';  ?></form> 


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -