sql=" update dailyistics set pageNum=pageNum+1 where visitDate='" . $setDate .
sql=" update dailyistics set pageNum=pageNum+1 where visitDate='" . $setDate . "'";
update => 更新/異動
dailyistics ==> DB table
set pageNum=pageNum+1 => pageNum 累加
where visitDate='" . $setDate . "'" => 當visitDate=$setDate才做
留言
張貼留言