Depends upon what you mean by all in an if.
// This is ok
if(...) {
switch(...) {
case 1: {
} // end case
case 2: {
Type: Posts; User: Junky
Depends upon what you mean by all in an if.
// This is ok
if(...) {
switch(...) {
case 1: {
} // end case
case 2: {
You have case 7 inside an if statement. It might help to see where your code is wrong if you used poroper indentation. Currently your code is a nightmare to read.