회원수정시 수정페이지가 아닌 홈으로 가게해달라는데요~ 정보
회원수정시 수정페이지가 아닌 홈으로 가게해달라는데요~
본문
} else {
echo "
<html><title>회원정보수정</title><meta http-equiv='Content-Type' content='text/html; charset=$g4[charset]'></html><body>
<form name='fregisterupdate' method='post' action='{$https_url}/register_form.php'>
<input type='hidden' name='w' value='u'>
<input type='hidden' name='mb_id' value='{$mb_id}'>
<input type='hidden' name='mb_password' value='{$tmp_password}'>
<input type='hidden' name='is_update' value='1'>
</form>
<script type='text/javascript'>
alert('회원 정보가 수정 되었습니다.');
document.fregisterupdate.submit();
</script>
</body>
</html>";
}
>>
회원수정시 수정페이지가 아닌 홈으로 가게해달라는데요~
서브밋날리면 링크값이 안먹히는데요
submit 하고 페이지 이동하게 할려면 어떻게하나요??
echo "
<html><title>회원정보수정</title><meta http-equiv='Content-Type' content='text/html; charset=$g4[charset]'></html><body>
<form name='fregisterupdate' method='post' action='{$https_url}/register_form.php'>
<input type='hidden' name='w' value='u'>
<input type='hidden' name='mb_id' value='{$mb_id}'>
<input type='hidden' name='mb_password' value='{$tmp_password}'>
<input type='hidden' name='is_update' value='1'>
</form>
<script type='text/javascript'>
alert('회원 정보가 수정 되었습니다.');
document.fregisterupdate.submit();
</script>
</body>
</html>";
}
>>
회원수정시 수정페이지가 아닌 홈으로 가게해달라는데요~
서브밋날리면 링크값이 안먹히는데요
submit 하고 페이지 이동하게 할려면 어떻게하나요??
댓글 전체
document.fregisterupdate.submit(); 지우고 아래 코드로 변경
location.href="../";
location.href="../";