Login | Register | FAQ
Anonymous

footer

+ Post a reply

3 posts Page 1 of 1


footer

by lacroixz » Tue Nov 30, 2010 8:21 pm

Hello people,

I was wondering if it is possible to get a script or something for the footer, since the footer is most of the time the same on évery page and editing everypage costs a lot of time.

So if anyone knows a solution, please comment.

Kindly Regards,
User avatar

lacroixz

  • Posts: 74
  • Joined: Wed Oct 27, 2010 9:26 pm

Re: footer

by HTML.net » Wed Dec 01, 2010 12:27 pm

Yep. That is an excellent idea! You need to use some server side scripting to that. What to choose depends on what are avalible on your server:

ASP: <!--#include virtual="footer.htm" -->

PHP: include 'footer.htm';

- Andreas, HTML.net
User avatar

HTML.net
Site Admin

  • Posts: 1194
  • Joined: Sat Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: footer

by lacroixz » Wed Dec 01, 2010 4:27 pm

Thanks Andreas!
It's working! .. <?php include("footer.php"); ?>
User avatar

lacroixz

  • Posts: 74
  • Joined: Wed Oct 27, 2010 9:26 pm


+ Post a reply

Page 1 of 1