Answered
checkbox problem
Ok, I know this should be relatively simple, but I can't seem
to get this to work! The same syntax works on my select fields,
just no the checkbox fields. I have a table of users, a table of
orgs, and and user_org table that joins the 2.
I am creating a simple update form. In the previous screen, a user is selected, then the user_id for that user is sent to the next page where the details for that user are managed. The form is only checking the checkbox for the first record returned.
The initial getOrg query returns a list of all orgs in the org table. the getOrg2 query is supposed to return the org_id for all orgs that the user is associated with. The queries are returning the correct result sets - just the checkboxes are screwy. Ideas? thanks!
I am creating a simple update form. In the previous screen, a user is selected, then the user_id for that user is sent to the next page where the details for that user are managed. The form is only checking the checkbox for the first record returned.
The initial getOrg query returns a list of all orgs in the org table. the getOrg2 query is supposed to return the org_id for all orgs that the user is associated with. The queries are returning the correct result sets - just the checkboxes are screwy. Ideas? thanks!
