prepare("SELECT s.*, u.full_name as founder_name, u.university as founder_uni, u.graduation_year FROM startups s JOIN users u ON s.founder_id = u.id WHERE s.id = ?"); $stmt->execute([$startup_id]); $startup = $stmt->fetch(); if (!$startup) { header("Location: startups.php"); exit; } $stmt = db()->prepare("SELECT * FROM users WHERE id = ?"); $stmt->execute([$_SESSION['user_id']]); $user = $stmt->fetch(); $error = ''; $success = ''; // Handle Investment if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action']) && $_POST['action'] === 'invest') { if ($user['role'] !== 'investor') { $error = "Founders cannot make investments."; } else { $amount = (float)($_POST['amount'] ?? 0); if ($amount < 50) { $error = "Minimum investment is £50."; } else { db()->beginTransaction(); try { $stmt = db()->prepare("INSERT INTO investments (investor_id, startup_id, amount, status) VALUES (?, ?, ?, 'approved')"); $stmt->execute([$_SESSION['user_id'], $startup_id, $amount]); $stmt = db()->prepare("UPDATE startups SET funding_raised = funding_raised + ? WHERE id = ?"); $stmt->execute([$amount, $startup_id]); $stmt = db()->prepare("INSERT INTO notifications (user_id, content) VALUES (?, ?)"); $stmt->execute([$startup['founder_id'], "New investment of £" . number_format($amount) . " in " . $startup['name'] . "!"]); db()->commit(); $success = "Investment successful! You've successfully backed " . htmlspecialchars($startup['name']) . "."; header("refresh:2;url=portfolio.php"); } catch (Exception $e) { db()->rollBack(); $error = "Investment failed: " . $e->getMessage(); } } } } $platformName = defined('PLATFORM_NAME') ? PLATFORM_NAME : 'Gatsby'; ?> <?= htmlspecialchars($startup['name']) ?> — <?= htmlspecialchars($platformName) ?>
Log Out

Founded by ()

About Startup

Investment Terms (Dividend-Only Returns)

How it works:

  • Investors are entitled to a share of future profits as **dividends**.
  • No voting rights or equity control are granted to investors.
  • Returns are primarily distributed through profit-sharing mechanisms.
  • This model focuses on sustainable student-led business growth.

Funding Progress

£ of £
% Raised

This is your startup listing. You can't invest in your own project.

Only verified investors can participate in funding rounds.

Risk Disclosure

Student startups carry high risk. Dividends are not guaranteed and depend on the profitability of the venture. This is not financial advice. All student entrepreneurs are verified, but Gatsby does not conduct full financial audits of individual ideas.