Warez Haber Scripti Php Date New Here

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

<?php require_once 'config.php';

$sql = "SELECT * FROM news ORDER BY date DESC"; $stmt = $pdo->prepare($sql); try { $stmt->execute(); $news = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { echo "Error: " . $e->getMessage(); } warez haber scripti php date new

if(isset($_POST['submit'])) { $title = $_POST['title']; $content = $_POST['content']; try { $stmt-&gt;execute(); echo "News added successfully