Hi,
Sounds to me that you have a page, with extention .html, right?
Noirmally, .html is not treated to contain php code, and as such, php code will not be interpreted. In your webserver config you could add html as an extention for files that contain php. It is however easier (and mayhaps wiser) to just use .php for files with php code.