What common mistake might lead to the error message "Parse error: parse error, unexpected T_IF" in PHP?

The error message "Parse error: parse error, unexpected T_IF" in PHP typically occurs when there is a syntax error in the if statement. This could be caused by missing parentheses, curly braces, or semicolons. To solve this issue, carefully check the syntax of your if statement to ensure all necessary elements are present and correctly placed.

// Incorrect code that may lead to the error message "Parse error: parse error, unexpected T_IF"
if ($condition)
    echo "Condition is true";
else
    echo "Condition is false";
```

```php
// Corrected code with proper syntax in the if statement
if ($condition) {
    echo "Condition is true";
} else {
    echo "Condition is false";
}