Parse Error: Syntax Error
Asked By
10 points
N/A
Posted on - 06/22/2019
During my PHP programming, an analysis error occurred. The error says Parse error: syntax error, unexpected T_STRING in … How can I fix this error?
During my PHP programming, an analysis error occurred. The error says Parse error: syntax error, unexpected T_STRING in … How can I fix this error?
Check the code properly and find out the line did not having “;” . After the analysis go and add the “;” Characters at the end of the line of code where it is missing. As shown in the example image, the syntax error occurred due to that missing semi colon from your line of code. This addition of “;” will resolve your issue.