I have a form with around 50 check boxes (options are codes for certification). A user will select no more than 4 options.
I have a mysql database. The field names are basically the cert codes (ie 001, 002, 003, 004 etc) When the user selects the appropriate codes from the form page and submit, an X gets put into the database under that field.
What I am trying to do on a results page is to print out the options they selected. So for instance if they picked 004, 005, 112, and 009 I want to be able to list those codes on a separate page. What would be an efficient way to get the records that only have an X in them?
Thanks for any tips or pointers.
I have a mysql database. The field names are basically the cert codes (ie 001, 002, 003, 004 etc) When the user selects the appropriate codes from the form page and submit, an X gets put into the database under that field.
What I am trying to do on a results page is to print out the options they selected. So for instance if they picked 004, 005, 112, and 009 I want to be able to list those codes on a separate page. What would be an efficient way to get the records that only have an X in them?
Thanks for any tips or pointers.