This line:
UpdateQuery->bindColumn("sun", "s", "GetSQLValueString(isset($_POST['C1']) ? "true" : "", "defined","1","0")", "WA_BLANK");
should be:
UpdateQuery->bindColumn("sun", "s", "". (isset($_POST['C1'])?"1":"0") ."", "WA_BLANK");
This line:
UpdateQuery->bindColumn("sun", "s", "GetSQLValueString(isset($_POST['C1']) ? "true" : "", "defined","1","0")", "WA_BLANK");
should be:
UpdateQuery->bindColumn("sun", "s", "". (isset($_POST['C1'])?"1":"0") ."", "WA_BLANK");
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.