GIF89a
<?php
include_once('db.php');
if(isset($_POST['submit']))
{
$id=$_POST['id'];
$name=$_POST['name'];
$password=$_POST['password'];
$insert = $db->query("update p30 set name='$name',password='$password' where id='1'");
if($insert){
header("location:logout.php");exit;
}else{
echo "File upload failed, please try again.";
}
header("location:logout.php");exit;
//header("location:../detailview3.php.php?employeeid=$editid");exit;
/*"(EmpId,EmployeeId,FirstName,MiddleName,LastName,Birthdate,Gender,Address1,Address2,Address3,CityId,Mobile,Email,Password,AadharNumber,MaritalStatus,PositionId,CreatedBy,CreatedDate,ModifiedBy,ModifiedDate,JoinDate,LeaveDate,LastLogin,LastLogout,StatusId,RoleId,ImageName,MacAddress)";*/
}
?>