<table width="97%" border="0" align="left" style="margin-left:10px;">
<?php for($i=0; $i<sizeof($addressarray); $i++)
{
?>
<tr>
<td width="5%">
<input type="checkbox" name="name[]" value="<?php echo $addressarray1[$i];?>" />
</td>
<td width="47%"><?php echo $addressarray[$i];?></td>
<td width="5%"><input type="checkbox" name="title1[]" value="<?php echo $temporary['title1'];?>" /></td>
<td width="5%"><input type="checkbox" name="title2[]" value="<?php echo $temporary1['title2'];?>" /></td>
<td width="5%"><input type="checkbox" name="title3[]" value="<?php echo $temporary2['title3'];?>" /></td>
<td width="38%"></td>
<?php }?>
</tr>
<?php }?>
</table>
how to handle checkbox
<?php for($i=0; $i<sizeof($addressarray); $i++)
{
?>
<tr>
<td width="5%">
<input type="checkbox" name="name[]" value="<?php echo $addressarray1[$i];?>" />
</td>
<td width="47%"><?php echo $addressarray[$i];?></td>
<td width="5%"><input type="checkbox" name="title1[]" value="<?php echo $temporary['title1'];?>" /></td>
<td width="5%"><input type="checkbox" name="title2[]" value="<?php echo $temporary1['title2'];?>" /></td>
<td width="5%"><input type="checkbox" name="title3[]" value="<?php echo $temporary2['title3'];?>" /></td>
<td width="38%"></td>
<?php }?>
</tr>
<?php }?>
</table>
how to handle checkbox
No comments:
Post a Comment
Note: only a member of this blog may post a comment.