스크랩 갯수

스크랩 갯수

더시민 1 1065 0

/bbs/scrap.php

 

$sql_common = " from {$g5['scrap_table']} where mb_id = '{$member['mb_id']}' ";
$sql_order = " order by ms_id desc ";

$sql = " select count(*) as cnt $sql_common ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];

1 Comments
더시민 2021.04.23 18:47  
스크랩 제어시는

scrap_poppin_update.php에서 해당게시물의 스크랩된 갯수 +!

      sql_query(" update $write_table set 스크랩컬럼t = 스크랩컬럼 + 1 where wr_id = '$wr_id' ");

삭제는 반대로

Congratulation! You win the 36 Lucky Point!

제목
Category
Facebook Twitter GooglePlus KakaoStory KakaoTalk NaverBand