From 7303d669f39b048e0aab0922ffa2bb98c6b9c85d Mon Sep 17 00:00:00 2001 From: 65160023 <65160023@go.buu.ac.th> Date: Tue, 25 Mar 2025 10:29:25 +0000 Subject: [PATCH] Edit add_review.php --- add_review.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/add_review.php b/add_review.php index 8a350f8..cb452f3 100644 --- a/add_review.php +++ b/add_review.php @@ -78,13 +78,5 @@ if(isset($_POST['submit'])){ <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script> <script src="js/script.js"></script> -<?php -$file_path = __DIR__ . '/components/alerts.php'; -if (file_exists($file_path)) { - include $file_path; -} else { - echo "<p style='color:red;'>Warning: alerts.php not found!</p>"; -} -?> </body> </html> \ No newline at end of file -- GitLab