So you are trying to test a solo PHP script on a webserver and it is not working?
It is not printing anything at all.
Here is a checklist to help you sort it out:
1. Make sure your server supports PHP
2. Make sure the PHP module is enabled
3. Make sure the script filename has no gaps and is named .php
4. If you view source and can see PHP tags you know PHP is not enabled
5. Make sure that the script has closing tags as well:
<?php ....your code.... ?>
<?php phpinfo(); ?>