Best data type to store long text like news, articles.
<p>This is my problem when im trying to store news entry some of those entries are inserting but some are not. I don't know if the problem is on the data type. Im just copying some news i found in internet and paste it to my form. Can someone help me about this?</p>

<p>my database structure..
<a href="https://i.stack.imgur.com/wN43u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wN43u.png" alt="enter image description here"></a></p>

<p>sample of the news that are not inserting. i copy this text in the wiki and paste it to my news content input. and didnt work.
<a href="https://i.stack.imgur.com/KRJBt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KRJBt.png" alt="enter image description here"></a></p>

<p>sample of news that successfuly inserted
<a href="https://i.stack.imgur.com/02D8x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/02D8x.png" alt="enter image description here"></a></p>

<p>here is my code for adding.</p>

<pre><code> &lt;?php
    include_once('connection.php');
    session_start();
   $username = ucfirst($_SESSION['username']);

  if(isset($_POST['submit'])){

    $title = $_POST['title'];
    $date = $_POST['date'];
    $content = $_POST['content'];
    $file=$_FILES['image']['tmp_name'];
    $image= @addslashes(file_get_contents($_FILES['image']['tmp_name']));
    $image_name= addslashes($_FILES['image']['name']);
    move_uploaded_file($_FILES["image"]["tmp_name"],"img/" . $_FILES["image"]["name"]);
    $newsimage="img/" . $_FILES["image"]["name"];



    $sql ="INSERT into news (news_title, news_date, news_content, news_image) VALUES ('$title', '$date', '$content', '$newsimage')";
    mysqli_query($con, $sql);

    echo '&lt;div class="alert alert-success alert-dismissable" id="success-alert"&gt;';
   echo '&lt;strong&gt;Successfully posted!&lt;/strong&gt;';
   echo '&lt;/div&gt;';

  }




  ?&gt;
</code></pre>