hi,
ive never used
php before but just had a quick try and looked around for more info on it.
tried your code and found a site with simple
php coding and I cant get this to work. it displays all other text in the htm but does not seem to look up the
php code
here is my example htm:
<!DOCTYPE
html PUBLIC "-//
W3C//
DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/
DTD/xhtml1-strict.
dtd">
<
html xmlns="
http://www.w3.org/1999/
xhtml" lang="en"
xml:lang="en">
<head>
<title>This is my page!</title>
</head>
<body>
HTML code... <? include("nav.inc"); ?> ...
HTML code...
</body>
</
html>
here are my nav.inc file contents:
<table class="nav">
<tr>
<td><a href="/" title="Home page">Home</a></td>
<td><a href="/computers/" title="Everything about computers">Computers</a></td>
...
<td><a href="/recipes/" title="My favorite recipes">Recipes</a></td>
</tr>
</table>
Ive tried viewing this in both ie and firefox, am I missing something simple?