thanks bpat,
I ended up just using variables inside my facts page to call the correct include file. This was all done with simple links and php tags! Here is the code i used
LINKS
<ul>
<li><a href="facts.php?load=x&thc=hemp">Hemp</a></li>
<li><a href="facts.php?load=x&thc=legal">Legal</a></li>
<li><a href="facts.php?load=x&thc=health">Health Risks</a></li>
<li><a href="facts.php?load=x&thc=tobacco">Tobacco Vs. Cannabis</a></li>
<li><a href="facts.php?load=x&thc=qoute">Qoutes</a></li>
</ul>
INCLUDE CODE
<?php
$page_choice = $_GET['thc'];
switch($page_choice) {
case "hemp": include ("http://www.totallyhigh.com/v4/facts/hemp.php"); break;
case "legal": include ("http://www.totallyhigh.com/v4/facts/legal.php"); break;
case "qoute": include ("http://www.totallyhigh.com/v4/facts/qoutes.php"); break;
case "health": include ("http://www.totallyhigh.com/v4/facts/health.php"); break;
case "tobacco": include ("http://www.totallyhigh.com/v4/facts/tobacco.php"); break;
default: echo "<b>Please select a category!</b>
";
}
?>
Thanks again for all your help im still looking into the ajax but i think this is actually going to be fine for my use, and i I think it also took care of the security issue of letting user define include files!