this might actually be more of an HTML question, but…
i’m creating an xhtml template, using php includes for the repeating information. what i’m unsure of is what the format of the included file should loook like?
for example, i have a navigation list that i want included on every page. so i’m using
<?php include(“navigation.htm”); ?>
in the #nav div. The info i want from “navigation.htm” is just an xhtml list.
[COLOR=Black]** so, whats the format for “navigation.htm”??? **[/COLOR]
is it:
<html>
<head></head>
<body>
<list information i want />
</body>
</html>
or… is just it:
<list information i want />
i’m sure this is simple… but i’m still new to php, and want to follow whatever the ‘best practice’ is.
the parent or template page that the list is going into… will be an xhtml transitional or strict document.
** hope my question makes sense, and thanks a lot!**