in reply to How to use checkbox to delete mutiple rows from database
Oterwise, you just prepare a delete query (outside the loop )and execute the query in the for loop for each user id. This will delete all the users from the db. -kulls.delete from tbl_name where id in (join(',',@usr_id_array));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to use checkbox to delete mutiple rows from database
by b10m (Vicar) on Nov 14, 2005 at 11:10 UTC |