|
if ($page_header != "home") { ?>
}?>
require_once('../includes/DbConnector.php');
require_once('../includes/Validator.php');
// Create an object (instance) of the DbConnector and Validator
$connector = new DbConnector();
$validator = new Validator();
?>
$result = $connector->query('SELECT * from Links where CatID="1" and Active="1" order by Sort, Name');
// Get an array containing the results.
// Loop for each item in that array
?>
while ($row = $connector->fetchArray($result))
{
echo '- '.$row['Name'].'';
if ($row['Description'])
{
echo '
'.$row['Description'].' ';
}
echo ' ';
}
?>
|
|
|