This topic is locked

header / footer

5/7/2018 3:54:41 PM
PHPRunner General questions
M
MikeT author

(I'm relatively new to phprunner, please forgive my noob questions.)
What are the formal requirements for header.php and footer.php?

Am I correct that it does not have to be a complete "start" of an html-output, beginning with <html>, then <head>, <body> etc., since it's inserted in phprunners own structure for the output?

(I'm using bootstrap layouts).
I only need to insert a font file and a div plus a few styles for the div. So, is it better to link to the font in the header.php or put the link in the html source (would then have to be done in all pages, I assume.)
Thanks!

Sergey Kornilov admin 5/7/2018

Header and footer are just plain PHP files. You can use any PHP or HTML code there.