Hello,
I'm trying to build a page for a collector's site that allows members to keep track of which items they have and which they need via a checklist, using checkboxes. For clarification, you can see the list Here.
The MySQL tables are InnoDB as follows:
eggs - ID (primary)
members - ID (primary)
collection - ID (primary), egg_ID (foreign), member_ID (foreign)
I have the page set up so each checkbox has a unique name based on the egg primary ID:
echo '<input type="checkbox" name="' . $row['id'] . '">';
This works great.
Each member has a unique ID passed to the page via a cookie from login, and that part's also working great.
The part that has me stumped is how to manage the following:
1) retrieve and display egg-ownership info based on member_ID, and
2) save changed info into the collections table via a form ($_POST, maybe?).
I've got all the bits working, I just don't know how to put them all together.
😕