I'm trying to create an if() statement to catch any unwanted tampering or coding errors.
All parts are strings.
I've tried correct and incorrect values in the array, but it seams to default to true every time.. outputting the error.
if ($array['field'] !== ('b' || 'c')){
echo 'An error has been encounterd <br/>';
exit();
}
Any ideas? thanks