Jump to content

validation three values


kirk112

Recommended Posts

Hi

 

I have following variables;

 

$v1 = 1

$v2 = 1

$v3 = 2

 

is there an easy way of checking to make sure that none of the variables have the same values I know how to do it using multiple if statements just wondering if there is a shorter way of doing it

 

Thanks.

 

 

Link to comment
https://forums.phpfreaks.com/topic/102518-validation-three-values/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.