大家好,当用户自动选中一个复选框时,复选框ID结果将来自数据库吗?
<tr>
<td height="25" align="center" valign="middle" bgcolor="#F7F7F7" >1.</td>
<td align="left" valign="middle" bgcolor="#F7F7F7">
<input type="checkbox" name="checkbox" value="<?php echo $res['profile_id']; ?>" /></td>
<td align="left" valign="middle" bgcolor="#F7F7F7" >
<?php echo $sql['profile_product']; ?></td>
<td align="center" valign="middle" bgcolor="#F7F7F7" ><span class="WebRupee" style="color:#FF0000">Rs. </span>
<?php echo $sql['profile_mrp']; ?></td>
<td align="center" valign="middle" bgcolor="#F7F7F7" ><span class="WebRupee" style="color:#FF0000">Rs. </span>
<?php echo $sql['profile_ctc']; ?></td>
<td align="center" valign="middle" bgcolor="#F7F7F7" ><span class="WebRupee" style="color:#FF0000">Rs. </span>
<?php echo $sql['profile_krt']; ?></td>
</tr>