include "include/session_check.htm";
include "include/connect_db.htm";
$hp="$hp1-$hp2-$hp3";
$tel="$tel1-$tel2-$tel3";
$birthday="$birth_year-$birth_month-$birth_day";
// ºñ¹Ð¹øÈ£ ó¸® ( **** )
if($pwd!="")
{
if($pwd==$re_pwd)
{
$password="pwd='$pwd',";
}
else
{
?>
exit;
}
}
$update_set="UPDATE member SET ";
$update_set.="$password";
$update_set.="email='$email',";
$update_set.="hp='$hp',";
$update_set.="tel='$tel',";
$update_set.="zipcode='$zipcode',";
$update_set.="addr1='$addr1',";
$update_set.="addr2='$addr2',";
$update_set.="sex='$sex',";
$update_set.="birthday='$birthday',";
$update_set.="memo='$memo' ";
$update_set.="WHERE id='$_SESSION[dentist_member_id]'";
if(!mysql_query($update_set))
{
//DB ¼öÁ¤ ½ÇÆÐ
alert('ȸ¿øÁ¤º¸ ¼öÁ¤¿¡ ½ÇÆÐÇß½À´Ï´Ù');
history.back(-1);
exit;
}
?>