could someone take a look at the code below and tell me why after transfering it from one server to another I suddenly get syntax error, unexpected '}' (in below example it would be in line 3)

```
<? if (isset ($_GET['ppp'])){ ?>    
<div style="text-align:center;">div1</div>
<?php } else {?>
<div style="text-align:center;">div2</div>
<?php } ?>

```

Could it be possibly related to some php.ini setting? Why simply transfering the template to another server would give such mix of php and html an error in that place? Works on one server but does not on another.