I'm trying to build up a php if statement with or "||" operators but doesn't seems to work
$country_code ="example_country_code";
if ( $country_code != 'example_country_code' || !clientIscrawler()) {
echo 'the script can be executed';
}
else {
echo 'skipping';
}
with the given example should be echoed skipping but doesn't happening like that. What I'm doing wrong?