http://www.koinonia.co.kr/bbs/board.php?bo_table=test&wr_id=4
위 링크는 공간대여 스킨입니다. 고객이 남긴 예약내용을 관리자가 읽고 하단에 승인버튼을 누르면
다음과 같은 코드가 뜹니다.;;
update g4_write_test set wr_11 = '1' where wr_id = '4'
1054 : Unknown column 'wr_11' in 'field list'
error file : /skin/board/z_reserv2/confirm.php
무슨 confirm.php파일이 잘못된거 같다고 하는거 같은데
하단은 confirm.php 소스입니다.
------------------------------------
<?
$g4_path = '../../..';
include_once("$g4_path/common.php");
if ( $id) {
$sql_wr = " update g4_write_".$bo_table." set wr_11 = '1' where wr_id = '$id' ";
sql_query($sql_wr);
echo "<script language='JavaScript'>alert('승인완료 되었습니다.');document.location.href='http://inhach.com/main/bbs/board.php?bo_table=".$bo_table."&wr_id=".$id."';</script>";
}
echo "<script language='JavaScript'>alert('값이 잘못되었습니다.');document.location.href='http://inhach.com/main/bbs/board.php?bo_table=".$bo_table."&wr_id=".$id."';</script>";
?>
위 링크는 공간대여 스킨입니다. 고객이 남긴 예약내용을 관리자가 읽고 하단에 승인버튼을 누르면
다음과 같은 코드가 뜹니다.;;
update g4_write_test set wr_11 = '1' where wr_id = '4'
1054 : Unknown column 'wr_11' in 'field list'
error file : /skin/board/z_reserv2/confirm.php
무슨 confirm.php파일이 잘못된거 같다고 하는거 같은데
하단은 confirm.php 소스입니다.
------------------------------------
<?
$g4_path = '../../..';
include_once("$g4_path/common.php");
if ( $id) {
$sql_wr = " update g4_write_".$bo_table." set wr_11 = '1' where wr_id = '$id' ";
sql_query($sql_wr);
echo "<script language='JavaScript'>alert('승인완료 되었습니다.');document.location.href='http://inhach.com/main/bbs/board.php?bo_table=".$bo_table."&wr_id=".$id."';</script>";
}
echo "<script language='JavaScript'>alert('값이 잘못되었습니다.');document.location.href='http://inhach.com/main/bbs/board.php?bo_table=".$bo_table."&wr_id=".$id."';</script>";
?>
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기