$page_id=1; // public page?> include ("security.php"); function getVer($cc) { while ($key = key($_POST)) { if ($key==$cc) {return 1;} next($_POST); } return 0; } function getDBConnection () { include("_db.php"); //contains the given DB setup $db, $server, $user, $pass $conn = mysql_connect($server, $user, $pass); if (!$conn) { //echo "Connection to DB was not possible!"; end; } if (!mysql_select_db($db, $conn)) { //echo "No DB with that name seems to exist at the server!"; end; } return $conn; } ?>
include ("./include/left_nav.php") ?> |