Implementing dom

Hello, I’m having trouble on what is the best way to implement the dom. This is the structure of a typical page on my website.

<?

session_start();
include(“database.php”) #Contains PHP
include(“variables.php”) #Contains PHP
include(“header.php”) #Contains PHP & HTML
include(“navigation.php”) #Contains PHP & HTML
include(“content.php”) #Contains PHP & HTML

?>

What do you mean by “implement the dom”?

I agree with Ralph. Your question is not question at all. You have a template that includes different files to output a web page with a session started… but implementing DOM? The DOM is created each time you load a page. It is the nodes and structure resulting from the interpretation of your markup by your browser.

We need to know exactly which problem you have

Is this an html question or is this a PHP or scripting question?

If you can clarify I will move the thread to the appropriate forum.

Sorry, I meant the doctype declaration.

It’s not likely that the doctype you choose will have any bearing on the code you posted above. Use whatever suits you, but preferably a strict doctype or the generic <!DOCTYPE html>. The important thing is to have a doctype.