is there a way to the php's SWITCH but with 2 values? Here's what I'm looking for
switch(a, b){
case 1,2: some code... ; break;
case 3,4: some code... ; break;
case 3,6: some code... ; break;
case 5,2: some code... ; break;
case 1,3: some code... ; break;
case 8,5: some code... ; break;
}
I know this won't work, so how would i do something along these lines?