Lets say I have an array like this. . .
$array = array(“username”, “password”, “token”, “redirect”, “sid”);
what I want to do Is If an Input name doesn’t match In the array, else do something with the none matching Input name and value any help would be appreciated.
I think you’re trying to filter through the input fields that are not in your array.
If I understand your question correctly, here’s how to do it: