The second argument passed to filter_input is just a string that tells the function which variable to look for. Running strtolower on that string won’t affect the case of the variable’s value. You’ll need to call strtolower on the output from filter_input.