unexpected T_IF 2010-04-22 17 words - 1 min read Getting “Parse error: syntax error, unexpected T_IF” ? Check if the preceeding line ends with a ;