If in an array

From: Date: Thu, 14 Dec 2000 19:18:20 +0000
Subject: If in an array
Groups: php.general 
Request: Send a blank email to php-general+get-30343@lists.php.net to get a copy of this message
Is there a way to check the value of a string against anything in an array without using the do loop? Like: If ($variable == $array(anything in array)) { $variable2 = "Yes it worked"; } Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com --------------------------------------------

« previous php.general (#30343) next »