Hello! Can anyone tell me if there is an easier/shorthand for:
if ( ($x == $a) || ($x == $b) || ($x == $c) || ($x == $d) ....... ) {;} I understand the logic of why the following does not work: if ($x == ($a || $b || $c || $d)) {;} Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php