I have a php form with a list of checkboxes (http://mandatorymarketinginc.com/web/sample-01.png
These checkbox values were previously saved to a table called "comp-profile-03-specialties" and I got the code working on the form to to check and if specialty selected the checkbox is checked.
On the php form checkboxes name is "specialties".
However my problem comes in when I want to update the checkboxes to account for the possibilities if the a checkbox is de-selected or another checkbox is added.
How would I go about doing this?