Aquafine

<?php require_once 'config.php';

if(isset($_POST['submit'])) { $title = $_POST['title']; $content = $_POST['content'];

try { $stmt->execute(); echo "News added successfully!"; } catch(PDOException $e) { echo "Error: " . $e->getMessage(); } } ?>

<?php require_once 'config.php';