gbupdatecomment.php 의 $sql insert 부분을
$sql = " insert into $table
set bd_altkey = '$bd_altkey',
bd_notice = '$bd[bd_notice]',
bd_num = '$bd[bd_num]',
bd_comment = '$bd_comment',
bd_content = '$comment_content',
mb_id = '$mb_id',
bd_passwd = '$mb_passwd',
bd_name = '$mb_name',
bd_email = '$mb_email',
bd_datetime = NOW(),
bd_ip = '$HTTP_SERVER_VARS[REMOTE_ADDR]',
bd_user_agent = '$HTTP_SERVER_VARS[USER_AGENT]' ";
sql_query_error($sql);
위의 코드로 변경해 주십시오.
$sql = " insert into $table
set bd_altkey = '$bd_altkey',
bd_notice = '$bd[bd_notice]',
bd_num = '$bd[bd_num]',
bd_comment = '$bd_comment',
bd_content = '$comment_content',
mb_id = '$mb_id',
bd_passwd = '$mb_passwd',
bd_name = '$mb_name',
bd_email = '$mb_email',
bd_datetime = NOW(),
bd_ip = '$HTTP_SERVER_VARS[REMOTE_ADDR]',
bd_user_agent = '$HTTP_SERVER_VARS[USER_AGENT]' ";
sql_query_error($sql);
위의 코드로 변경해 주십시오.
댓글 1개
20년 전
음 어떤 오류
게시판 목록
그누3질답
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 | 15년 전 | 7787 | ||
| 223 | 22년 전 | 1540 | ||
| 222 | 22년 전 | 1513 | ||
| 221 | 22년 전 | 1460 | ||
| 220 | 22년 전 | 1387 | ||
| 219 | 22년 전 | 1541 | ||
| 218 | 22년 전 | 5648 | ||
| 217 | 22년 전 | 5274 | ||
| 216 | 22년 전 | 5700 | ||
| 215 | 22년 전 | 8615 | ||
| 214 | 22년 전 | 5380 | ||
| 213 | 22년 전 | 5333 | ||
| 212 |
10605
|
22년 전 | 5281 | |
| 211 | 22년 전 | 5792 | ||
| 210 | 22년 전 | 5407 | ||
| 209 | 22년 전 | 5264 | ||
| 208 | 22년 전 | 5442 | ||
| 207 | 22년 전 | 5663 | ||
| 206 | 22년 전 | 5398 | ||
| 205 | 22년 전 | 5186 | ||
| 204 | 22년 전 | 5276 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기