Hello,
Does PHP have an IN() function similar to MySQL's?
So essentially we're looking to see if $val is in the group of variables...
if($val IN('a','e','x','3'){
echo "Found!";
}
So if $val was "a" or e,x,3 , then Found! would be written. But if $val was "g" or "ae" etc then Found! would not be written.
MySQL can do this, can PHP?
Thanks!
Peter