From 459e929311d8806f604c0b914ba4b37aa731fbfc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 8 Jan 2024 21:09:05 +0000 Subject: Migrated to mysqli --- pages/random.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pages/random.php') diff --git a/pages/random.php b/pages/random.php index 15d7758..049f151 100644 --- a/pages/random.php +++ b/pages/random.php @@ -1,8 +1,7 @@ query("SELECT * FROM comics WHERE status = \"publish\" ORDER BY RAND() LIMIT 1"); +$getcomic3 = $getcomic->fetch_assoc(); header('Location: http://pillowcase.fourisland.com/comic' . $getcomic3['comic_id'] . '.htm'); -- cgit 1.4.1