Originally Posted by andynov123
Does it matter if my PHP code is embedded in a html document. Since the localhost runs the .html file without crashing or having issues? Or does the file have to have a .php extension to run a PHP driven website?
Again, if you're not going to show us your htaccess settings or source code how are we supposed to help?
Yes you can put php code in a html page but your server must be configured to run html pages as php.
You don't seem to know a lot about this so I can't help but wonder if your php is incorrectly setup or if you have code that is causing an error. Seeing as you refuse to show us there is not much we can really say to help you.