/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'];
Congratulation! You win the 36 Lucky Point!
scrap_poppin_update.php에서 해당게시물의 스크랩된 갯수 +!
sql_query(" update $write_table set 스크랩컬럼t = 스크랩컬럼 + 1 where wr_id = '$wr_id' ");
삭제는 반대로
Congratulation! You win the 36 Lucky Point!