include("includes/Header.php"); //if(!$key){ header('location:login.php'); } $id = (int)($_GET['id']); if(!$id){ header('location:index.php'); } if($id) { $GetPage = mysql_fetch_array(mysql_query("SELECT `id`,`title`,`content`,`date` FROM `pages` Where `id` = '".$id."' ")); ?>