Here are possible answers to your problem:
- WEB server is not processing your PHP code correctly because php is not installed or misconfigured.
- You're not using the web server at all. Make sure to load your pages from localhost (or whatever your server is) and not from the file itself
ex: localhost/path/to/index.html
and not c://program files...