title: CANNOT READ CKEDITOR DATA PHP MYSQL
body: <p>Please help me, there is no error but when I check my database, it inserts nothing. Please help.</p>
  
  <p>here is the <code>faqs.php</code></p>
  
  <pre><code> &lt;div class="myeditor"&gt;
  
       &lt;form method="post" action="insert.php"&gt;
  
           FAQs &lt;input type="text" name="ckFAQS"&gt;
  
           &lt;script&gt;
               CKEDITOR.replace( 'ckFAQS' );
           &lt;/script&gt;
  
           &lt;input type="submit"&gt;
       &lt;/form&gt;
  
   &lt;/div&gt;
  </code></pre>
  
  <p>and here is <code>insert.php</code></p>
  
  <pre><code> &lt;?php
       $editor_data = $_POST[ 'ckFAQS' ];
   ?&gt;
   &lt;?php
       $sql="INSERT INTO FAQs (FAQs_Text) VALUES ('$editor_data')";
       if (!mysqli_query($con,$sql))
           die('Error: ' . mysqli_error($con));
       echo "1 record added";
       mysqli_close($con);
   ?&gt;
  </code></pre>