pouncer Posted November 11, 2006 Share Posted November 11, 2006 i have a footer at the bottom of my page, but instead of ust having it on very one of my pages i would ust rather put in include 'whateverfile.html'and in that file would be the code for the footer.this way, when i need to make changes to the footer, i just edit the whateverfile.htmlis this possible? Link to comment https://forums.phpfreaks.com/topic/26965-does-include-work-for-html-code-too/ Share on other sites More sharing options...
bsamson Posted November 11, 2006 Share Posted November 11, 2006 Yes, it works just the same. Link to comment https://forums.phpfreaks.com/topic/26965-does-include-work-for-html-code-too/#findComment-123290 Share on other sites More sharing options...
pouncer Posted November 12, 2006 Author Share Posted November 12, 2006 thanks!!but when i doinclude 'whatever'do i have to have that within php?<?php include 'whatever' ?>? Link to comment https://forums.phpfreaks.com/topic/26965-does-include-work-for-html-code-too/#findComment-123308 Share on other sites More sharing options...
fert Posted November 12, 2006 Share Posted November 12, 2006 yes you do Link to comment https://forums.phpfreaks.com/topic/26965-does-include-work-for-html-code-too/#findComment-123317 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.