CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 MySQL + PHP + Checkbox. Help me

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.