Here is the script to process the results:
<?
require_once("sc_fns.php");
site_header();
db_connct();
mysql_select_db("book_sc");
$query = "SELECT * FROM html_pages WHERE html_page_name = '$value'";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
for ($i=0; $i <$num_results; $i++)
{
$row = mysql_fetch_array($result);
echo unhtmlentities($row["html_page_code"]);
echo "<BR><BR>";
}
?>
Here is the page with the link:
<A HREF="html_parse.php?value=splash">home</A>
Basically,
I hardcoded the $splash page in and the rest of the links use the format above. It works like a charm - all output comes from the database and presents totally clean on the site side.
THANKS FOR THE INPUT, this forum/site really rocks.
Cyronuts