wrathican Posted July 8, 2007 Share Posted July 8, 2007 can i nest the inside eachother? E.G: switch ($_GET['xyz']) { case "a": swicth ($_GET['uvw'] { case "c": do some stuff break; case "d": do something else break; } break; case "b": swicth ($_GET['uvw'] { case "e": do some other stuff break; case "f": do something other than everything else break; } break; } Link to comment https://forums.phpfreaks.com/topic/58931-switch-statements/ Share on other sites More sharing options...
Barand Posted July 8, 2007 Share Posted July 8, 2007 In a word, yes Link to comment https://forums.phpfreaks.com/topic/58931-switch-statements/#findComment-292440 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.