Jump to content

Archived

This topic is now archived and is closed to further replies.

LynneM

using Checkboxes with a database?

Recommended Posts

I have a database setup using MySQL. On my Dreamweaver form I want to use checkboxes, but I must not be binding it correctly. Form in browser shows correctly, but in database the checkboxes are replaced with a textbox and no data saved. I have it listed as a VARCHAR in database...is this incorrect?

Thanks!

Share this post


Link to post
Share on other sites

I use a TINYINT(1) for checkboxes and the value of the checkbox is 1 when selected.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.