hp include "connection.php"; if(isset($_POST['done'])){ $news = $_POST['news']; $news = htmlspecialchars($news, ENT_QUOTES, 'UTF-8'); $sql = $con->prepare("INSERT INTO mynews(news) VALUES (:news)"); $sql->bindParam(":news",$news); $sql->execute(); echo ""; } ?>