how can I use the same header on multiple pages of my site? (html, php) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I use the same header on multiple pages of my site? (html, php)

Are dozens of pages, I would like to use a same header in all of them. I would like a solution that does not need JavaScript, just php.

13th Sep 2017, 6:47 AM
André Campos
André Campos - avatar
1 Answer
0
"copy+paste" your selected file that contain header As "template" (no actual template tough but for starter file).. until you know / learn about AJAX , which is worldwide used this for better interface / security accessing.. not much use plain html / php except if it's only somewhat company profile or advertising.. sorry to dissapoint you , but , don't give up , keep learning for your needs..
13th Sep 2017, 6:55 AM
Mikhael Anthony
Mikhael Anthony - avatar