similar pages ...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WindAndWaves

    similar pages ...

    Hi Gurus

    I am sorry to ask so many questions, I am just really excited about PHP. I LOVE IT.

    I have about twenty pages now, all with various scripts. All of them are different but the header and the footer are always similar

    eg.

    .....<HTML>...< HEAD>..<BODY>.. ...<TD>

    {content}

    </TD>end of file stuff</html>

    Should I put the front and the end in a special function so that I can change all of them at once?

    TIA

    - Nicolaas


  • Geoff Berrow

    #2
    Re: similar pages ...

    I noticed that Message-ID: <rYaLd.13108$mo 2.1019514@news. xtra.co.nz>
    from WindAndWaves contained the following:
    [color=blue]
    >Should I put the front and the end in a special function so that I can change all of them at once?[/color]

    Use includes.

    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

    Comment

    • WindAndWaves

      #3
      Re: similar pages ...


      "Geoff Berrow" <blthecat@ckdog .co.uk> wrote in message news:t1gqv0d416 pj33tljuq2n6spp rs8ud0ava@4ax.c om...[color=blue]
      > I noticed that Message-ID: <rYaLd.13108$mo 2.1019514@news. xtra.co.nz>
      > from WindAndWaves contained the following:
      >[color=green]
      > >Should I put the front and the end in a special function so that I can change all of them at once?[/color]
      >
      > Use includes.
      >[/color]


      Are there any drawbacks on using them? or things I should watch for before I change the whole thing?


      Comment

      • Geoff Berrow

        #4
        Re: similar pages ...

        I noticed that Message-ID: <cwbLd.13120$mo 2.1027401@news. xtra.co.nz>
        from WindAndWaves contained the following:
        [color=blue][color=green]
        >> Use includes.
        >>[/color]
        >
        >
        >Are there any drawbacks on using them? or things I should watch for before I change the whole thing?[/color]



        --
        Geoff Berrow (put thecat out to email)
        It's only Usenet, no one dies.
        My opinions, not the committee's, mine.
        Simple RFDs http://www.ckdog.co.uk/rfdmaker/

        Comment

        Working...