0 Replies Latest reply: Jul 11, 2007 12:24 PM by oicram RSS

    Dev. Toolbox not accept checkbox default values

    oicram Community Member
      Php, mySQL 5, Developer Toolbox

      Hello. I have a form with lots of default values.
      I have enum data type field in the database, with "yes" and "no". Defaut to "no".

      When I create a INSERT TRANSACTION, everything works fine, except the checkbox values that stay null, even if, I define a specific default value.

      $ins_caes->addColumn("agressivo_homens", "STRING_TYPE", "POST", "agress_human", "no");

      But instead of this "no" to appear, I get 'null'.

      Help please,
      Marcio