exec($sql); echo "Table 'project_logs' created successfully.\n"; // Insert initial version $stmt = $db->prepare("INSERT INTO project_logs (version, title, content) VALUES (?, ?, ?)"); $stmt->execute(['1.0.0', 'Initial Release', 'Welcome to the project log. This is the first version of the galaxy management system.']); echo "Initial log entry inserted.\n"; } catch (PDOException $e) { echo "Error creating table: " . $e->getMessage() . "\n"; }