Jump to content

Problems with Checkboxes and displaying results


jviney

Recommended Posts

I have a site where the user uses checkboxes to select options. They are stored in a MySQL database as enum "Y/N" answers, the default is "N".

 

What I am trying to display in the output is...

If they checked the checkmark, display the row name.

 

An example I have is multiple checkmarks to select, "alcohol" and "food" and "dancing". If the venue has alcohol served, the checkmark for alcohol is selected and so on. In my output I want the table to say "alcohol" if it was checked.

 

I'm trying to display the results in a table as there are other fields of text along with the checkmarks.

Any help would be appreciated!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.