On the statistics page, first pass the id in the database of this picture to the statistics page, then click the number of corresponding pictures+1 on the statistics page, and then go to the details page of this picture. The specific code is as follows:
Statistics page code:
& lt%
Id = request ("id")
SQL = "update[ table name] set hit = hit+1where ID ="&; Identification (identification)
Connection execution (sql)
Response.redirect "detailed page address"
% & gt