Thread
:
How do you use NOT in an array
View Single Post
#
2
04-09-2011, 03:52 AM
cbk1994
the fake one
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
PHP Code:
if (! (
element in
array)) {
This will work fine. Note that it is case-sensitive.
__________________
cbk1994
View Public Profile
View GraalOnline Profile
Visit cbk1994's homepage!
Find all posts by cbk1994