prepare('INSERT INTO bugs (title, description, steps_to_reproduce) VALUES (?, ?, ?)'); $stmt->execute([$title, $description, $steps_to_reproduce]); header('Location: bugs.php'); exit; } catch (PDOException $e) { $errors[] = 'Database error: ' . $e->getMessage(); } } } ?> Add New Bug

Add New Bug

Cancel