Manage Projects
Select a project or create a new one.
Manage Projects
connect_error) { die("Connection failed: " . $conn->connect_error); } // 2. Prepare the SQL query // We assume the table is named 'project_list' (change this to your actual table name) $sql = "SELECT * FROM project_list WHERE username = ? ORDER BY project_name ASC"; if ($stmt = $conn->prepare($sql)) { // Bind the session username to the '?' in the query $stmt->bind_param("s", $_SESSION['username']); // Execute the query $stmt->execute(); // Get the results $result = $stmt->get_result(); // 3. Display the projects if ($result->num_rows > 0) { echo '- ';
while ($row = $result->fetch_assoc()) {
// Use htmlspecialchars to prevent XSS attacks
echo '
- ' . htmlspecialchars($row['project_name']) . ' '; } echo '
No projects found. Start one below!
'; } $stmt->close(); } else { echo "Error preparing statement: " . $conn->error; } $conn->close(); ?>Add New Project
Manage Characters
Define personas to include in your prompts.
A
The Architect
Logical, structured, coding expert.
M
The Muse
Creative, abstract, poetic writer.
C
The Critic
Harsh, detailed, error-checker.
+
Create New
Generate Prompt
Compile your settings and characters into a master prompt.
// Your generated prompt will appear here...