Raised This Month: $ Target: $400
 0% 

Easy way to check multiple equals?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 06-01-2007 , 18:08   Easy way to check multiple equals?
Reply With Quote #1

I'm trying to check to see if a variable is equal to different strings.

I know you can do...
Code:
equal(variable, "test");

How can I check to see if the variable is equal to multiple strings though?

Example that doesn't work but shows my question:
Code:
equal(variable, "test1", "test2", "test3", "test4", "etc...");
hlstriker is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode