Quote:
Originally Posted by Ronnie
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.