prepare("INSERT INTO seo_projects (project_name, sheet_url, status, deadline) VALUES (?, ?, ?, ?)"); $stmt->bind_param("ssss", $name, $url, $status, $deadline); if ($stmt->execute()) { header("Location: ../dashboard.php"); exit; } else { echo "Error: " . $conn->error; } } ?>