in reply to Re^2: How to implement a checkbox that will send data to db
in thread How to implement a checkbox that will send data to db

Fixed it by getting the results in character 'f' and 't' ( instead of numeric of 0 and 1) from database by changing the query.
# get Discontinued my $sql = qq!SELECT DISTINCT("Discontinued")::CHAR AS disc FROM "Products" ORDER BY 1 DESC !;