in reply to querying a database using checkbox values
$sql .= "where DriveInitiative = $initiative" if ($initiative eq 'on'); [download]
print qq($sql<BR>); [download]