<title>Update Email</title> <link rel="stylesheet" href="css/custom.css" /> <link rel="stylesheet" href="css/menu.css" /> <script src="js/jquery-1.8.3.min.js"></script> <script src="js/custom.js"></script> <?php include "class.docket.php"; $obj = new docket(); ?> </head> <?php if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'edit') { $id = $_REQUEST['id']; $obj->docket(); $obj->show($id); } if (isset($_POST['act']) == 'update') { $obj->docket(); $obj->updatemail($id); } ?> <body> <table align="left" style="float: left; margin-left: 150px; margin-right: 100px;"> <?php include_once 'include/menu.php'; ?> <form action="" method="post">