You can generate a php page using Dreamweaver. It will generate the page with a .php extension if you want. If you have a php server set up on your server, you can change the extension of your pages from .html to .php, the server will interpret them as php pages. The html code will still work as you expect, changing to a .php extension just specifies which server language to use.