http://www.seolremtv.com/wanee/wanee.php
http://www.seolremtv.com/wanee/wanee2.php
이구요.
http://www.seolremtv.com/wanee/bbs/new2.php
일반 게시판에서의 최근게시물 내글보기는
상단에
$mb_id = $_GET['mb_id'];
if(!$mb_id){
$mb_id = $_POST['mb_id'];
if(!$mb_id){
$mb_id = $member[mb_id];
}
}
넣어서 되었는데, 영카트쪽 게시판 최신글에서는 넣어도 내글만 보여지지 않고 전체가 보여지네요. ㅜㅜ
댓글 4개
test1 / 1234
로 로그인 하면, test1 로 로그인한 글만 보여지게 하고 싶어요. (로그인 후 본인글만 보이도록이요)
http://www.seolremtv.com/wanee/bbs/new2.php (여기서는 로그인한 후 본인글만 보여지고 있어요)
헌데, 로그인하면
select count(*) as cnt from yc4_item_ps where is_confirm = '1' where mb_id = 'test1'
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where mb_id = 'test1'' at line 1
error file : /wanee/wanee.php
이런 에러가 나오네요.
어떻게 수정해야 하나요?
로 로그인 하면, test1 로 로그인한 글만 보여지게 하고 싶어요. (로그인 후 본인글만 보이도록이요)
http://www.seolremtv.com/wanee/bbs/new2.php (여기서는 로그인한 후 본인글만 보여지고 있어요)
헌데, 로그인하면
select count(*) as cnt from yc4_item_ps where is_confirm = '1' where mb_id = 'test1'
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where mb_id = 'test1'' at line 1
error file : /wanee/wanee.php
이런 에러가 나오네요.
어떻게 수정해야 하나요?
게시글 목록
| 번호 | 제목 |
|---|---|
| 56008 | |
| 56006 | |
| 55990 | |
| 55994 | |
| 55996 | |
| 55987 | |
| 55981 | |
| 55976 | |
| 55973 | |
| 55968 | |
| 55967 | |
| 55966 | |
| 55963 | |
| 55959 | |
| 55956 | |
| 55951 | |
| 55949 | |
| 55948 | |
| 55946 | |
| 55944 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기