I am learning html and php. I also have an idea for a game which I might make. Would I need an HTML file for every php file or would I just need a few HTML files for things like a login page and the game interface. I remember in php it said the text in the script would appear on the page.
You can do things in php without having any html files at all. You can write the php code to send out the appropriate html for all situations. Jump into some php tutorials for beginners and you’ll see what I mean as you go along.