in reply to creating an html table based on db values
More specific:
I want to create an HTML table based on user preference.
The table by default is displayed with 8 fields. The user is presented with a set of check boxes that he/she can check to remove or add specific parts of the table. For instance, I want "Field_A" to be part of the table, so i check the field_a checkbox. If I don't want this field to be displayed, i uncheck it. If a checkbox is clicked, 'checked' is saved to a database. I want to be able to display the fields that have the value 'checked' in the database.