Raised This Month: $ Target: $400
 0% 

Can i add a case into other case? and how?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-07-2009 , 08:08   Re: Can i add a case into other case? and how?
Reply With Quote #6

Quote:
Originally Posted by AlejandroSk View Post
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.
__________________
fysiks 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 02:19.


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