I'm trying to set up a spam check for my contact form.
The spam check will be a simple text field where the user can enter the answer in 3 possible values.
How would I go about checking the contents of the string (spam field) in php and combine this with the "If".
It would be like
If spamfield=XXXXXX or YYYYY or ZZZZZ then send e-mail Else show error message
Thanks!