<?php include('connect_db.php'); if (isset($_POST['submit'])) { mysql_query("UPDATE indigo21IT SET LastName='$_POST[lastname]', GivenName='$_POST[givenname]', MiddleName='$_POST[middlename]' WHERE ID='$id'") or die(mysql_error()); header("Location: main.php"); } $id = $_GET['id']; $result = mysql_query("SELECT * FROM indigo21IT where ID=$id"); ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)