By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,110 Members | 990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,110 IT Pros & Developers. It's quick & easy.

Re: Q re Include & how it works - newbie

P: n/a
Twayne wrote:

Like it says' newbie to PHP.

Perhaps someone could provide me with a plan language of how Includes
In my reading, it says you place the Include(somefile) 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!


Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.