What common syntax errors can occur in PHP code?

One common syntax error in PHP code is missing semicolons at the end of statements. This can cause the script to break and display an error message. To solve this issue, make sure to add semicolons at the end of each statement in your PHP code. Example:

// Incorrect code without semicolons
echo "Hello, ";
echo "World"
```

```php
// Corrected code with semicolons
echo "Hello, ";
echo "World";