Creating a switch is fine and dandy. My problem is that I have 2 switches within the same set of code for 2 different things.
switch ($a){
case1:
whatever
break;
case2:
whatever
break;
}
.....
......
switch ($b){
case1:
whatever
break;
case2:
whatever
break;
}
My problem is that if switch 1 resolves to case 2 then switch 2 does as well. It completly ignores the $b==case equivelant.
I have worked around this by having switch #1 have a case 10 & 20. Now all works.
Am I to understand that you can have multiple switches but never use the same case value more than once.
Thanks For Any Help
Adam