Help for this page

Select Code to Download


  1. or download this
    <input type=checkbox name=col1 value=1>NEW
    <input type=checkbox name=col2 value=4>PENDING
    <input type=checkbox name=col3 value=9>CLOSED
    
  2. or download this
    $sum = $form{'col1'} + $form{'col2'} + $form{'col3'};
    
  3. or download this
    %possibleSQLargs = {
            1 => "and table.column = 'NEW'";
    ...
        };
    
    $extraqueryarg = $possibleSQLargs{'$sum'};