Parse error: syntax error, unexpected ‘ ‘ (T_STRING) This kind of error comes in two case.
This kind of error comes when some white space is present in your code.
Remove white space from your code.
When you copy code from other source.
When you copy code from some source, it includes special character and white space in the lines you have to remove these invisible special characters and white space from lines at beginning or ending.
Hope this will helps you!