include('includes/functions.php');
include("php-db-api/txt-db-api.php");
$strSection = "Public";
GetANDCheckNewsID();
$db = new Database("news");
$rs = $db->executeQuery("SELECT headline, article, display, createdon FROM news WHERE (id = '" . $_POST["id"]. "') LIMIT 5");
if ($rs->getRowCount()) {
$rs->next();
list($_POST["headline"], $_POST["article"], $_POST["display"], $_POST["createdon"]) = $rs->getCurrentValues();
} else {
header("location: news.php");
exit(0);
} //end if
?>
PP SimTECH / Risk Based Inspection / News Section