I can\'t find anything that works for me, and since I\'m a cut and paste html editor (I know only the main basic stuff), I don\'t understand most of the other posts. This is the
PHP requires a server that can execute the code. Dropbox doesn't execute the code because it isn't supposed to. Instead it just serves the html the way it was uploaded, if you check the DOM you will see the php tags. When served by a proper server that executes php the tags are removed.
Edit: change the html file's extension to "php" so that it looks like "index.php"