From 855a6268922517511f8195c052798475d4a0bc5b Mon Sep 17 00:00:00 2001 From: 65160377 <65160377@go.buu.ac.th> Date: Sat, 29 Mar 2025 00:11:19 +0700 Subject: [PATCH] Initial commit --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 143aabe..a72ad58 100644 --- a/index.php +++ b/index.php @@ -92,7 +92,7 @@ include('includes/config.php'); <h3>Package List</h3> -<?php $sql = "SELECT * from tbltourpackages"; +<?php $sql = "SELECT * from tbltourpackages order by rand() limit 4"; $query = $dbh->prepare($sql); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); -- GitLab