Find Your Next Opportunity
The AI-powered platform to discover jobs and build your career.
query('SELECT * FROM jobs ORDER BY created_at DESC');
$jobs = $stmt->fetchAll();
if (empty($jobs)) {
echo "";
} else {
foreach ($jobs as $job) {
echo '
';
}
}
} catch (PDOException $e) {
// In a real app, log this error. For now, show a friendly message.
echo "";
}
?>
No job listings found at the moment. Please check back later.
' . htmlspecialchars($job['title']) . '
' . htmlspecialchars($job['company']) . '
' . htmlspecialchars($job['location']) . '
' . substr(htmlspecialchars($job['description']), 0, 100) . '...
' . htmlspecialchars($job['job_type']) . '
' . htmlspecialchars($job['salary']) . '
Error: Could not connect to the database to fetch jobs.