Hi,
Here is my current code:
<input type="checkbox" name="checkbox" value="1" checked="checked" />
I want:
When checkbox is checked,i want to insert the value"1" to mysql database.
When checkbox is unchecked,i want to insert the value "0" to mysql database.
How to change current code to get what I want ?
Thanks!
chad
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php