From ab6eb5100235d088ef83402e3727e3e29fb740b9 Mon Sep 17 00:00:00 2001 From: Grim0o5 Date: Sun, 12 Jan 2025 17:28:54 +0545 Subject: [PATCH] add a search_result php for searchingjobs added remove options for Employer to remove job postings change the index file to dymanically show the jobs fetched from the database --- index.php | 139 +++++++++++++++++----------------------- job_details.php | 54 +++++++++++++++- search_results.php | 153 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 264 insertions(+), 82 deletions(-) create mode 100644 search_results.php diff --git a/index.php b/index.php index 7fa990e..05e051d 100644 --- a/index.php +++ b/index.php @@ -5,41 +5,79 @@ TempHire • Future of Work + + - - +
-

+

The Future of Work

Discover opportunities that match your schedule and skills in real-time.

- -
- -
+ +
+
+
+ +
+

Featured Job Posts

+
+ prepare($sql); + $stmt->execute(); + $result = $stmt->get_result(); + + if ($result->num_rows > 0) { + while ($job = $result->fetch_assoc()) { + ?> +
+
+
+
+

+
+ + +
+

...

+
+ View Details +
+
+
+ No jobs available.

"; + } + $conn->close(); + ?> +
@@ -49,20 +87,7 @@