From e4c7bc8c6e2a074800c5813ee3a4e74562765956 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 26 Nov 2023 08:11:18 +0800 Subject: [PATCH] add version and id info --- index.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.php b/index.php index 3dd3bf0..a38a01f 100644 --- a/index.php +++ b/index.php @@ -46,7 +46,9 @@ require("track.php"); //查询随机一条记录 $sql = "SELECT * FROM soul ORDER BY RAND() LIMIT 1"; $result = mysqli_query($conn, $sql); + $id; while ($row = mysqli_fetch_assoc($result)) { + $id = $row["id"]; ?>
@@ -78,6 +80,11 @@ require("track.php"); 再来一句
+
+
+ +
+