Location: PHPKode > projects > K-12 OSS Web Software Project > equest_0.1/teacher/delete.php

if (!(isset($_SESSION['teacher']))) {
       header("Location: ../index.php");

<title>eQuest Web Quest System</title>
<link type="text/css" rel="stylesheet" href="./styles.css">
<table class="maintable" bordercolor="#000066" cellspacing="0" cellpadding="3" align="center" border="1" width="600">
<?php include("./header.php"); ?>
$query = "SELECT quest_unique,quest_title FROM quests WHERE quest_unique='{$_REQUEST["quest"]}'"; 
$result = mysql_query($query) or die(mysql_error());
$res = mysql_fetch_array($result);

<!-- start teacher list block -->
    <td class="text" bgcolor="#ffffff" valign="top">

<h2>Delete Web Quest</h2>

<p>Are you really sure you want to delete the web quest "<b><?php echo $res["quest_title"]; ?></b>"?</p>
<p><a href="yes.php?quest=<?php echo $res["quest_unique"]; ?>">Yes</a> | <a href="members.php">No</a></p>
<!-- end teacher list block -->

<?php include("./footer.php"); ?>
Return current item: K-12 OSS Web Software Project