Counter styling

This commit is contained in:
2024-06-27 16:37:58 +02:00
parent 15b264ded2
commit fac22f76c6
7 changed files with 55 additions and 23 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$getHitsQuery = "
SELECT
hits
FROM
Counter
WHERE
siteID LIKE :SID";
$setHitsQuery = "
INSERT INTO
Counter(siteID, hits)
VALUES
(:SID, 1)
ON DUPLICATE KEY UPDATE
hits = hits + 1";