Quote:
Originally Posted by AlejandroSk
PHP Code:
switch(key)
{
case 1:
{
switch(key2) ....
as you can see, i need 2 switchs..
i need to use the same index (key) for both?
|
Not to be rude but you have two different "key" values, "key" and "key2".
If key == key2 then the second switch will only ever exucute the same case.
__________________