View Single Post
  #4  
Old 07-16-2009, 06:02 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Ronnie View Post
Alright wow I was almost using that completely wrong, thanks for the heads up again!
For your purpose yes. That's why I typically use it the way you originally did it for scenarios like this:

PHP Code:
temp.value "apples";
temp.array = {"oranges""apples""bananas"};
if (
temp.value in temp.array) echo("apples!"); 
Anyway glad I could be of help.
__________________
Quote:
Reply With Quote