CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [terrykhatri531] How to implement a checkbox that will send data to db: Edit Log



Zhris
Enthusiast

Jul 9, 2014, 7:15 PM


Views: 32697
Re: [terrykhatri531] How to implement a checkbox that will send data to db


Quote
<option value="0">0</option>


As suspected, you are using 0 for the false value, which is later translated to blank ''.

Implement the code I suggested in my previous post, with the current drop down menu or desired checkbox (code will work for both).

Regards,

Chris


(This post was edited by Zhris on Jul 9, 2014, 7:18 PM)


Edit Log:
Post edited by Zhris (Enthusiast) on Jul 9, 2014, 7:16 PM
Post edited by Zhris (Enthusiast) on Jul 9, 2014, 7:18 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives