I have added the visible column to the database ok, but am having trouble writing the PHP code so that when you tick a check box it puts a value of 'y' or 'n' in the database. Please advise how to modify edit joke to make this work.

Thank you in advance