Ok so my website has a navbar stored in “header.php” and an include statement in each page to display it. On Grendel Hosting, the navbar shows up fine, but here there is no navbar. The PHP file is in the same location as the other HTML files and this is the code I use, what could be the problem? BTW the website is http://totalcurryman.cf
The problem in your page is that you are trying to execute PHP in a file with the .html extension. Normally, PHP will only be run if the file has the .php extension. Please rename your .html files to .php and it should work (note that you may need to update some links).
It did work on Grendel Hosting because .html files were also parsed as .php due to legacy reasons. But you shouldn’t rely on that to make your website work.