Hi I have the following code, which should include $p, but it doesn't for some reason!
<a href="?p=index">Main</a>
<a href="?p=history">history</a>
<div id='content'>
<?php
if(isset($_GET['p']))
{
$p = $_GET['p'];
include($p.'.htm');
} else {
include('index.htm');
}
?>
</div>