checkbox = tinyint?
is tinyint the correct choice for a 0,1 check box? or bit or bool....
using check box for "send me an email when account due?" they would check the box meaning "yes" or "1". unchecked means "no" or "0".
using mysql
thanks
David
is tinyint the correct choice for a 0,1 check box? or bit or bool....
using check box for "send me an email when account due?" they would check the box meaning "yes" or "1". unchecked means "no" or "0".
using mysql
thanks
David
Yes that is the way I would do it, sample line from one my admin table sql set up files
`publish` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Publish Option (0 = Unpublished, 1 = Published)',
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.