Professional Documents
Culture Documents
PHP Errors Tricks
PHP Errors Tricks
"Unexpected T_ECHO" means that word was somewhere it shouldn't be. (Absent the if, PHP would consider the stuff in parens and the echo as two separ ate statements, and would expect a semicolon or something between the two.)