Hey I need a simple function to determine if a given string is contained in an array
$findInMe = Array('SOLD OUT', 'ERROR', 'EXPIRED', 'NO DEAL');
$givenString = somethingFromMyDatabase;
If $givenString was found in $findInMe then the function would return true
Anybody know how to do this?
I appreciate it!