title: How to insert Hindi data into, and fetch the same data from, MySQL
body: <p>I don't know how to insert Hindi data into a MySQL database and fetch the same data from the database using Codeigniter. Please guide me.</p>
  <pre><code>public function add_tag_description() // this is my controller name
      {
          $this-&gt;load-&gt;helper('form');
          $post = $this-&gt;input-&gt;post();
          $post['add_tag_description'] = $this-&gt;input-&gt;post('add_tag_description');
          unset($post['submit']);
  
          $this-&gt;load-&gt;model('Prediction_model', 'prediction');
          if($this-&gt;prediction-&gt;add_tag_description($post)) {
              $this-&gt;session-&gt;set_flashdata('feedback', 'Tag Description added successfully');
              $this-&gt;session-&gt;set_flashdata('feedback_class', 'alert-success');
          } else {
              $this-&gt;session-&gt;set_flashdata('feedback', 'Tag Description failed to add successfully, please try again');
              $this-&gt;session-&gt;set_flashdata('feedback_class', 'alert-danger');
          }
          $this-&gt;load-&gt;view('admin/add_tag');
      }
  </code></pre>
  <p>Model :</p>
  <pre><code>public function add_tag_description($post)
      {
           $add_tag_description = $post['add_tag_description'];
           $add_tag = array(
               'description'  =&gt; $add_tag_description
              );
           $this-&gt;db-&gt;insert('tag_description',$add_tag);
      }
  </code></pre>