I created common.php which creates the page array. When I click on one of the links that are created by the array, I keep receiving the parse error message for the line following the Body section under home.php file. What am I missing or doing wrong? Any help would be much appreciated.
common.php:
<?php
$db = mysql_connect("localhost", "", "_");
mysql_select_db("dbfile",$db)
OR die("Error: could not select database!");
$result = mysql_query("SELECT IDNum, page, url, description FROM dbtable", $db);
while ($row = mysql_fetch_array($result))
{
echo '<b><a href="home.php?page='
. $row['page'] . '">' . $row['description'] . '</a></b><br>';
}
?>
home.php is:
<? include('common.php'); ?>
<!===== Header =====>
<? include('header.php'); ?>
<!====== Body ======>
<? include(' . $row['url'] . '); ?>
<!===== Footer =====>
<? include('footer.php'); ?>