For some reason it seems to be working fine, only when I used <?php ?> tag. Does not work with <? ?>
What's wrong here?
For some reason it seems to be working fine, only when I used <?php ?> tag. Does not work with <? ?>
What's wrong here?
Nothing's wrong. And RC quoted the wrong option.. it's short_open_tag that you're interested in. This is why people advise against using short tags, because you run into problems like this when you try switching servers.
Before you guys go and horribly miscontrue my "nothing's wrong" statement, I mean that it's not a bug or defect... you're just not using the correct settings.