I have a webpage using several includes for header, footer, etc. The header & footer files each consist of 50+ lines.
Instead of using includes, I put the header code into a function call print_header() and footer code into another function called print_footer().
So instead of calling includes, I am simply calling a function for the same output.
I think it's a bit more efficient that way, but is it? I don't program much at all, so this may sound like a pretty stupid question.