테스트 사이트 - 개발 중인 베타 버전입니다

상품등록 후 아무것도 출력이 안됩니다.

· 13년 전 · 10 · 1
if ($w == "u") {
goto_url("./itemform.php?w=u&it_id=$it_id&$qstr");
} else if ($w == "d") {
// 091123 추가 utf-8
$qstr = "ca_id=$ca_id&sfl=$sfl&sca=$sca&page=$page&stx=".urlencode($stx)."&save_stx=".urlencode($save_stx);
goto_url("./itemlist.php?$qstr");
goto_url("./itemform.php?w=u&it_id=$it_id&$qstr");
}


이렇게 적용하라는 말씀이신가요?
goto_url("./itemform.php?w=u&it_id=$it_id&$qstr"); 만을 넣어서도 해봤는데 증상은 똑같습니다.

어디가 문제일가요~?

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

adm/shop_admin/itemformupdate.php 를

goto_url("./itemform.php?w=u&it_id=$it_id&$qstr");
exit;

if ($w == "u") {
goto_url("./itemform.php?w=u&it_id=$it_id&$qstr");
} else if ($w == "d") {
// 091123 추가 utf-8
$qstr = "ca_id=$ca_id&sfl=$sfl&sca=$sca&page=$page&stx=".urlencode($stx)."&save_stx=".urlencode($save_stx);
goto_url("./itemform.php?w=u&it_id=$it_id&$qstr");
}

echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=$g4[charset]\">";
?>

<script>
if (confirm("계속 입력하시겠습니까?"))
//location.href = "<?="./itemform.php?it_id=$it_id&sort1=$sort1&sort2=$sort2&sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&page=$page"?>";
location.href = "<?="./itemform.php?it_id=$it_id&$qstr"?>";
else
location.href = "<?="./itemlist.php?$qstr"?>";
</script>

이렇게 수정해 드렸습니다.

exit; 아래의 코드는 실제 실행되지 않으니 삭제하셔도 상관 없습니다.

게시글 목록

번호 제목
56073
56067
56065
56060
56058
56055
56051
56048
56044
56043
56042
56039
56035
56032
56030
56028
56025
56018
56012
56010