Canh
|
| Posted: 06/02/2003, 4:53 AM |
|
anyone hepl me how to use checkbox with MySQL. Pls give me detail.
Canh
|
|
|
 |
rclayh
|
| Posted: 06/02/2003, 5:30 AM |
|
In your datatable set a field to either char(1) or tinyint. I recomend char(1) because it's readable as you will see.
Set up your form and add your checkbox. If you are using char(1) set your checked value to Y and your unchecked value to N.
If you are using tinyint set checked to 1 and unchecked to 0
Hope this helps. Reading the help file is also a good idea.
|
|
|
 |
|