post problem
Posted: Tue Sep 10, 2002 12:34 pm
i do a reservation system now, it can be cancel the order. so each time member login, their order will be display. The problem is that the page display few order, but i only want to delete a order. so i put the code as below:
<tr bgcolor="#FFCC66">
<td>'.$from.'</td>
<td>'.$to.'</td>
<td>'.$date.'</td>
<td>'.$time.'</td>
<td>'.$odate.'</td>
<td>'.$seatno.'</td>
<td>RM'.$total.'</td>
<input type="checkbox" name="checkbox" value="checkbox">
<td><input name="Cancel" type="submit"id="Cancel" value="'.$count.'">
when i tick the checkbox, a order will be deleted. But the problem is i dunno how to verify that order is belong to that checkbox. so i can't delete it. hope anyone can help me ? thank u
<tr bgcolor="#FFCC66">
<td>'.$from.'</td>
<td>'.$to.'</td>
<td>'.$date.'</td>
<td>'.$time.'</td>
<td>'.$odate.'</td>
<td>'.$seatno.'</td>
<td>RM'.$total.'</td>
<input type="checkbox" name="checkbox" value="checkbox">
<td><input name="Cancel" type="submit"id="Cancel" value="'.$count.'">
when i tick the checkbox, a order will be deleted. But the problem is i dunno how to verify that order is belong to that checkbox. so i can't delete it. hope anyone can help me ? thank u