SyntaxFix
Write A Post
Hire A Developer
Questions
Dont know, why you want to use &&. Theres an easier solution
&&
echo in_array($var, array('abc', 'def', 'hij', 'klm', 'nop')) ? 'yes' : 'no';