I'm really struggling with this form...
The form prints an incorrect category name, an option to select a correct category name, and a checkbox to update that cateogry.
I need to only pass the new categories which have the checkbox ticked. I'll then create the neccesary sql query to change the category in the db.
What would be the best way to do this? How do I loop through the form getting only the categories to be updated?

The form prints an incorrect category name, an option to select a correct category name, and a checkbox to update that cateogry.
I need to only pass the new categories which have the checkbox ticked. I'll then create the neccesary sql query to change the category in the db.
What would be the best way to do this? How do I loop through the form getting only the categories to be updated?