I need help on both the visual and the programmatic end of this one. Ok, so I'm allowing the user to edit certain rows pertaining to his unique ID. When the user clicks edit, it shows all of the rows in the user table that contain his specific ID (see below for the table layout). Furthermore, a checkbox is generated for each class the user appears in (again based on the user\_id field).

```

tbl_user
user_id  |  user_name
1        |  Evan

tbl_class
user_id  |  class_id
1              1
1              2 

```

This is what the edit form currently looks like:

```

| TEXT-BOX  |  For user_name

| CHECKBOX value="1"  |  For EACH class found
| CHECKBOX value="2"  |  For EACH class found

```

When the form is submitted, I was going to check to see if the values of any of the boxes were unchecked; if they were, I would remove the corresponding tbl\_class row (wherever the class\_id matched up).

**Two problems I've encountered using this method:**

1. If the checkbox is unchecked, its value does not come through the form (so it seems)
2. This isn't so much a problem as it is an annoyance- is there a better way to go about doing this? I really hate the design.

I would appreciate help with either of the above questions.

Thank you!

Evan