Exemple #1
0
						<tr>
							<td> Confirm Password :</td><td>
							<input type="password" name="repass" id="repass" />
							</td>
						</tr>
						<tr>
						<tr>
							<td></td><td>
							<input type="submit"  id="submit_pass" value="Update" />
							</td>
						</tr>
					</table>
				</form>
			</div>
			<?php 
echo "<div style='Color:#FF0000; margin-top:15px;font-weight:bold; '>" . $_GET['updated'] . "</div>";
?>
		</div>
		<?php 
if ($_POST) {
    $id = $_POST['id'];
    $pass = $_POST['pass'];
    $repass = $_POST['repass'];
    session_start();
    include "class.docket.php";
    $obj = new docket();
    $obj->change_pass($id, $pass, $repass);
}
?>
	</body>
</html>