Your code is not clear enough ! because the CASE statement is used after using the switch statement but as i see their were no switch statement in your code so i don’t know if this is a type or not
Then the using of the case must be look like this :
switch(VARIABLE_NAME)
{
case "reinstall":{//Here put your instructions}
}
Try this and tell me the result 🙂
9
solved PHP case errors [closed]