Re: Q re Include & how it works - newbie

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

    Re: Q re Include & how it works - newbie

    Twayne wrote:
    >Hi,
    >>
    >Like it says' newbie to PHP.
    >>
    >Perhaps someone could provide me with a plan language of how Includes
    >work.
    > In my reading, it says you place the Include(somefil e) and it's as
    >though that file were suddenly at that point of whatever file is
    >including it. OK, sort of makes sense and I can see it happen in the
    >sandbox. Pretty standard stuff, I think.
    >>
    >
    include is just the same as if you copied and pasted the code into the
    including page.
    That's the verification I was looking for I think. There are times that
    doesn't seem to be so, but perhaps I'll looking at the wrong side of the
    tree in the wrong forest ... I think I let POST usages confuse me.
    >
    ....
    >>
    >>
    >
    Did you look at the source code in your browser? You're outputting
    the text in fillInCheck.php before anything - including the doctype.
    This makes your entire page invalid. Browsers might now show it.
    D'oh! No, I hadn't thought of looking at the souce in my browser!
    Nothing like being half-armed and half-fast, huh? Guess I better switch
    "newbie" to "rank newbie" ;-)

    ANYway: Thanks; that's embarassing enough I won't soon forget it!

    Regards,

    Twayne


Working...