bo_table이 test1,test2,test3 있으면
$sql = " select * from xxxxx where bo_table = 'test1,test2,test3'
조건에 test1,test2,test3 썼는데 3개 전부 나오질 않네요..
조건에 게시판명을 , 로 구분해서 전부 가져올순 없나요?..
where bo_table = 'test1' or bo_table =' test2 or bo_table = 'test3'
로 해보세요
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
이 게시물을 신고 하시겠습니까?신고사유를 선택해주세요.