- 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
- or download this
$sum = $form{'col1'} + $form{'col2'} + $form{'col3'};
- or download this
%possibleSQLargs = {
1 => "and table.column = 'NEW'";
...
};
$extraqueryarg = $possibleSQLargs{'$sum'};