Multiple instances of body tags in a page due to the includes each having a set.

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

    Multiple instances of body tags in a page due to the includes each having a set.

    The page you’re looking for has been removed as part of an update to our site. It may have been an old listing, an outdated location, or a service we no longer offer.


    this is not the way it's supposed to be, is it... ok then for me just
    to remove the body tags from the include files, it'll all work ok? I
    don't know php and I'm working with a webmaster who, I suspect,
    doesn't know it too well either.

    BB
    --





  • Janwillem Borleffs

    #2
    Re: Multiple instances of body tags in a page due to the includes each having a set.

    Big Bill wrote:[color=blue]
    > http://www.promcars.co.uk/pages/rebecca.php
    >
    > this is not the way it's supposed to be, is it... ok then for me just
    > to remove the body tags from the include files, it'll all work ok? I
    > don't know php and I'm working with a webmaster who, I suspect,
    > doesn't know it too well either.
    >[/color]

    Yep, something like:

    <body>
    <?php include 'content.php' ?>
    </body>


    JW


    Comment

    • Big Bill

      #3
      Re: Multiple instances of body tags in a page due to the includes each having a set.

      On Sat, 1 Apr 2006 13:48:58 +0200, "Janwillem Borleffs"
      <jw@jwscripts.c om> wrote:
      [color=blue]
      >Big Bill wrote:[color=green]
      >> http://www.promcars.co.uk/pages/rebecca.php
      >>
      >> this is not the way it's supposed to be, is it... ok then for me just
      >> to remove the body tags from the include files, it'll all work ok? I
      >> don't know php and I'm working with a webmaster who, I suspect,
      >> doesn't know it too well either.
      >>[/color]
      >
      >Yep, something like:
      >
      ><body>
      > <?php include 'content.php' ?>
      ></body>
      >
      >
      >JW[/color]

      So if I'm reading this right, what gets included is the file called
      content.php and that doesn't have to begin and end with body tags. I
      suspect this explains why the webmaster doesn't ever attempt to
      externalise javascripts or style sheets, or add to the externalised
      files I already made when he works on a site after me, he just doesn't
      know how.

      BB

      --





      Comment

      • Jerry Stuckle

        #4
        Re: Multiple instances of body tags in a page due to the includeseach having a set.

        Big Bill wrote:[color=blue]
        > http://www.promcars.co.uk/pages/rebecca.php
        >
        > this is not the way it's supposed to be, is it... ok then for me just
        > to remove the body tags from the include files, it'll all work ok? I
        > don't know php and I'm working with a webmaster who, I suspect,
        > doesn't know it too well either.
        >
        > BB[/color]

        Several have already answered this question when you asked it previously.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Big Bill

          #5
          Re: Multiple instances of body tags in a page due to the includes each having a set.

          On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
          <jstucklex@attg lobal.net> wrote:
          [color=blue]
          >Big Bill wrote:[color=green]
          >> http://www.promcars.co.uk/pages/rebecca.php
          >>
          >> this is not the way it's supposed to be, is it... ok then for me just
          >> to remove the body tags from the include files, it'll all work ok? I
          >> don't know php and I'm working with a webmaster who, I suspect,
          >> doesn't know it too well either.
          >>
          >> BB[/color]
          >
          >Several have already answered this question when you asked it previously.[/color]

          I was checking I had it right. This isn't my stuff it's for, it's for
          a client.

          BB
          --





          Comment

          • Jerry Stuckle

            #6
            Re: Multiple instances of body tags in a page due to the includeseach having a set.

            Big Bill wrote:[color=blue]
            > On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
            > <jstucklex@attg lobal.net> wrote:
            >
            >[color=green]
            >>Big Bill wrote:
            >>[color=darkred]
            >>>http://www.promcars.co.uk/pages/rebecca.php
            >>>
            >>>this is not the way it's supposed to be, is it... ok then for me just
            >>>to remove the body tags from the include files, it'll all work ok? I
            >>>don't know php and I'm working with a webmaster who, I suspect,
            >>>doesn't know it too well either.
            >>>
            >>>BB[/color]
            >>
            >>Several have already answered this question when you asked it previously.[/color]
            >
            >
            > I was checking I had it right. This isn't my stuff it's for, it's for
            > a client.
            >
            > BB[/color]

            So, you expect to ask the same question and get different answers?

            If you do, you're either asking the wrong question, or asking the right question
            in the wrong place!


            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            Working...