그누야님의 다중카테고리 질문입니다.
http://192.168.1.240/www/bbs/board.php?bo_table=category&sca=a01a01a01
보기
http://192.168.1.240/www/bbs/write.php?bo_table=category&sca=a01a01a01
쓰기
http://192.168.1.240/www/bbs/board.php?bo_table=category&sca=a01a01a01&wr_id=8&page=&sfl=&stx=&sst=&sod=&spt=&page=
에러페이지
select wr_id, wr_subject, ca_id from g4_write_category where wr_comment > -1 and ca_id = 'a01a01a01' and wr_num = '-5' and wr_reply < '' ca_id = 'a01a01a01%' order by wr_num desc, wr_reply desc limit 1
보기
http://192.168.1.240/www/bbs/write.php?bo_table=category&sca=a01a01a01
쓰기
http://192.168.1.240/www/bbs/board.php?bo_table=category&sca=a01a01a01&wr_id=8&page=&sfl=&stx=&sst=&sod=&spt=&page=
에러페이지
select wr_id, wr_subject, ca_id from g4_write_category where wr_comment > -1 and ca_id = 'a01a01a01' and wr_num = '-5' and wr_reply < '' ca_id = 'a01a01a01%' order by wr_num desc, wr_reply desc limit 1
1064 : 'SQL 구문에 오류가 있습니다.' 에러 같읍니다. ('ca_id = 'a01a01a01%' order by wr_num desc, wr_reply desc limit 1' 명령어 라인 1)
error file : /www/bbs/board.php
http://192.168.1.240/www/bbs/board.php?bo_table=category&wr_id=8 여기 저장됨
http://192.168.1.240/www/bbs/board.php?bo_table=category&wr_id=8 여기 저장됨
카테고리를 만들고 글을 등록하고 나면 에러가 발생하고 글이 저장된 경로가 잘 못 됩니다.
경로설정은 어디서 어떻게 하는지 알려주세요~~
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 6개
다른 회원이 접속할 수 없습니다, 같은 방에 있지 않은 한.
==>
and wr_reply < '' and ca_id = 'a01a01a01%'
select wr_id, wr_subject, ca_id 을
select *