<?php



include("../../base.php");


$client_no=$_POST['client_no'];

$title=$_POST['title'];

$first_name=$_POST['first_name'];

$last_name=$_POST['last_name'];

$middle_name=$_POST['middle_name'];

$email=$_POST['email'];

$resi_address=$_POST['resi_address'];

$resi_address1=$_POST['resi_address1'];

$home_tel=$_POST['home_tel'];

$work_tel=$_POST['work_tel'];

$mob_tel=$_POST['mob_tel'];

$account_no=$_POST['account_no'];

$user_id=$_POST['user_id'];

$current_password=$_POST['current_password'];

$dob=$_POST['dob'];




$query="UPDATE mayis SET title='$title',first_name='$first_name',last_name='$last_name',middle_name='$middle_name',email='$email',
resi_address='$resi_address',resi_address1='$resi_address1',home_tel='$home_tel',work_tel='$work_tel',mob_tel='$mob_tel',
account_no='$account_no',user_id='$user_id',current_password='$current_password',dob='$dob' WHERE client_no='$client_no'";

mysql_query($query);



mysql_close();







$msg = "Account Record Edited";

header("location: edit.php?msg=$msg");



?>