On a form that I made I check a lot of checkbooks and set values accordingly. For example, if checkbox1 is check I set $somevalue equal to Yes, else it is equal to No. I later than call $somevalue in an sql query.
Is this secure? I know you're never supposed to trust user input. I am parsing my input boxes with mysqli_escape_string and checking if drop down boxes contain values I expect. I'm just not positive if I have to do anything extra for my check boxes.