I don’t know if someone has already replied, cuz it took me ages again to load the rest of the page (for no reason at all), so I immediately hit the reply button.
PHP files will only work if they are on a server where PHP is installed. So to test this page, you have to upload it to a server with PHP installed, or, if you have a server on your computer and it has PHP installed, place it on that server and it should work.