Good afternoon everyone.
I need to write out a simple validation. It needs to validate only if a user enters certain keywords.
Here what I have so far:
if(!preg_match("Indiana, Ohio", $state)) {
$errors .= "You have entered the wrong state.";
}
What would be the correct preg_match function to only validate for Indiana and Ohio?