prepare("SELECT * FROM users WHERE id = ?"); $stmt->execute([$user_id]); $user = $stmt->fetch(); if (!$user) { header('Location: login.php'); exit; } if ($user['role'] !== 'investor') { header('Location: dashboard.php'); exit; } $platformName = defined('PLATFORM_NAME') ? PLATFORM_NAME : 'Gatsby'; // Fetch ONLY active funding rounds $stmt = db()->prepare(" SELECT s.*, fr.id as round_id, fr.funding_goal as active_goal, fr.funding_raised as active_raised, fr.status as round_status, u.full_name as founder_name FROM funding_rounds fr JOIN startups s ON fr.startup_id = s.id LEFT JOIN users u ON s.founder_id = u.id WHERE fr.status = 'Active' ORDER BY fr.created_at DESC "); $stmt->execute(); $activeRounds = $stmt->fetchAll(); ?> Founding Rounds — <?= htmlspecialchars($platformName) ?>
<?= htmlspecialchars($platformName) ?> Logo
Log Out

Active Founding Rounds

Direct access to the most promising student startups seeking capital right now.

No active rounds at the moment

Check back soon for new opportunities.

by
Goal
£
£ Secured %
Platform Yield
%
Founder Yield
View Profile Invest Now