Because the if clauses were a string of else/ifs, the red squigglies were shown for the else following an if statement terminated with a semi-colon. In that case, the following else became an 'else...
Type: Posts; User: GregBrannon
Because the if clauses were a string of else/ifs, the red squigglies were shown for the else following an if statement terminated with a semi-colon. In that case, the following else became an 'else...
The code you posted does not need to be run on a server and has at least one error that would prevent it from compiling and running. Around line 79 (in my editor, +2 in yours?), you began adding ';'...
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for newcomers, including a few "house rules" that will make you a more confident...