I can't figure out the most effective way to do this. I'm trying to write a script that will delete users in bulk from a forum; the idea is that the user can check the boxes for each user to remove and then the script clears them all out of the database table.
At the moment each checkbox is given the user's ID as its 'name'. Is there a way to make a query out of this that simply deletes all the users that have been checked, without testing every user one-by-one to see if their value is 'on'? Or is there a better way to set up such a script? Please, any logistical or script advice would be very welcome.
Thanks in advance
