Results 1 to 2 of 2

Thread: How to change information (news) in 10 .html pages at once

  1. #1
    Join Date
    Sep 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How to change information (news) in 10 .html pages at once

    Hi,

    I have quite simple web site, with 10 pages all together. Information varies from page to page, but I have a small news section in all 10 of those pages (1 image and 2 sentences) , I was wondering, is it possible to do something so That when I change this inforation in one of these pages information gets changes in all others too.

    I was thinking about iframe, but maybe there are some better suggestions ..

    Thanks !

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    php include or require

    http://php.net/manual/en/function.include.php
    http://php.net/manual/en/function.require.php

    html works the same in php, php is just like a bonus haha.

  3. The Following User Says Thank You to bluewalrus For This Useful Post:

    wonderland (10-30-2009)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •