S
Sharty
Guest
I created controls dynamically using a loop statement in one .php page.And I want to access each of the controls in another .php page.But I don't know how.My piece of code is below.
<form action="deleteteuser.php" method="post" name="user" >
<table>
<?php
while($row=mysql_fetch_object($recordSet)){
?>
<tr>
<td>
<input type="checkbox" name="chkuser" value="<?php echo $row->Id?>"/>
</td>
<td><?php echo $row->Id?></td>
<td><?php echo $row->username ?></td>
</tr>
<?php }?>
</table>
<table>
<tr>
<td><input type="submit" name="delete" value="Delete"></td>
</tr>
</table>
</form>
So how can I access each array of checkbox (chkuser) which are selected in my deleteuser.php page?
Please help me
Thanks!
<form action="deleteteuser.php" method="post" name="user" >
<table>
<?php
while($row=mysql_fetch_object($recordSet)){
?>
<tr>
<td>
<input type="checkbox" name="chkuser" value="<?php echo $row->Id?>"/>
</td>
<td><?php echo $row->Id?></td>
<td><?php echo $row->username ?></td>
</tr>
<?php }?>
</table>
<table>
<tr>
<td><input type="submit" name="delete" value="Delete"></td>
</tr>
</table>
</form>
So how can I access each array of checkbox (chkuser) which are selected in my deleteuser.php page?
Please help me
Thanks!