NYCPHP Meetup

NYPHP.org

[nycphp-talk] about check box

chad qian nynj.tech at hotmail.com
Mon Jan 28 17:12:14 EST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080128/e837c302/attachment.html>


More information about the talk mailing list