Fixed php syntax erros