HTML tags

February 27, 2004 by Kutt Niinepuu
As you are a "newbie" to PHP, as you said yourself, then you probably missed that the include files are kind of "pasted in" to the pointed locations, so that every character from the include file gets inserted. Knowing this, you could check your include files to see, if they contain those obsolete and tags. If they do, just strip them. The should probably be in the first include (if it is not declared already in the main documents) and the last in the footer include (again, when appropriate).

HTML Tags

June 10, 2004 by B M

Here it is nice and simple:

In your header.php and footer.php scripts, do not use the html, head, or body tags.  Then in your page that you will include the scripts, place them between the body tags where you want the header and footer to show up.

It's that simple.