It looks like your file isn't being interpreted as PHP by the web server. It is just coming down as plain text. Do a view source on your browser and you'll see the php tags.
This means that the browser is interpreting <?php and > as a tag, if a strangely-formed one, and so it does not show on the screen.
So make sure php is set up correctly for that site and the file extension is correct etc.