hello all

i have a db in mysql

i have set an number of check boxes to display any fields chosen from the database, how do i connect my check boxes to the mysql db basicaly to display the ticked field.

for example

checkbox 1 if ticked it will display first_name and if checkbox2 is ticked it will display surname as well

any ideas would be great

thanks for the time