There is an unexpected '{' but it looks like there is nothing wrong?
I have removed the curly bracket completely and the echo but did nothing when I put it back in.This is the Error Message
I am not sure what the output is sorry?
There is an unexpected '{' but it looks like there is nothing wrong?
I have removed the curly bracket completely and the echo but did nothing when I put it back in.This is the Error Message
I am not sure what the output is sorry?
You're missing a closing parentheses at the end of line 2. Make sure that every opening parentheses has a corresponding closing parentheses. In the case of an if statement the round parens should end before you place any curly parens.
if(condition && (otherCondition)){
code to execute;
}
You're missing a parenthesis after the isset - which is throwing your error. Simple fix:
if(condition && isset($_SERVER["PHP_AUTH_PW"])){
. . .
}
Also, in the future, please paste your code in the original post as a code block - not an image. It helps other users debug your code.