<form method="POST" action="prosesMultiple.php">
<?php
include 'connection.php';
$sql="SELECT defect_code,totalDaily FROM grandTotal ORDER BY totalDaily DESC LIMIT 10 ";
$row = mysql_query ($sql);
while ($check=mysql_fetch_array($row)){?>
<input type="checkbox" name="defect_code[]" id="defect_code[]" value="<?php echo $check["defect_code"];?>" />
<?php echo $check["defect_code"];?> - <?php echo $check["totalDaily"]; ?>
<input name="text" name="totalDaily[]" id="totalDaily[]" type="hidden" value="<?php echo $check["totalDaily"]; ?>"><br/>
<?php } ?>
<p><input type="submit" value="Send" name="Send"></p>
</form>
the problem is i want pass the value of defect_code and totalDaily together at same time? after user select the checkboxes..is it practical i do like that