$sql = " update {$g5['g5_shop_item_option_table']}
set io_stock_qty = 0
where it_id = '{$it_id}'
and io_id LIKE CONCAT(SUBSTR('{$io_id}',1,10),'%')
and io_type = '{$io_type}' ";
|
답변 1개
채택된 답변
+20 포인트
9년 전
echo로 찍어보시고 where을 하나씩 없애보세여
없애고 추가하고하면 어디에서 에러가 나는지 확인이댑니다
where절 like문에서 %가 빠졌지않나 싶습니다만
답변을 작성하려면 로그인이 필요합니다.