just assign a checkbox with a different name to each one with id value as the checkbox value. then use the foreach() statement to loop through the post results and regex the key to make sure it belongs to that set of input elements. after that take the value from the foreach statement and use it in a query to delete the record.
i know that sounds complicated and you probably don't understand it. if you need some example code let me know.
Last edited by kkeith29; Mar 7th, 2008 at 8:38 pm.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
Offline 1,315 posts
since Jun 2007