Not equal array variables
Posted: Fri Jan 09, 2004 8:32 am
hello,
I am at a loss on something. What I am trying to do is change my following code so I can use an array.
What I want to do is put "thing1" "thing2" "Thing3" into an array and check from there if possible (so I can call the variables on different pages and not have to recode each page for changes).
Any ideas?
Thanks,
Tim
I am at a loss on something. What I am trying to do is change my following code so I can use an array.
Code: Select all
<?
if(($this !== "thing1" AND $this !== "thing2" AND $this !== "thing3")) {
print "Then do this if not equal to any of those";
}
?>Any ideas?
Thanks,
Tim