title: codeigniter post html textarea
body: <p>when i try to post html from my textarea the variable value is empty and form_validation show error message that the input is required......</p>
  
  <p>i search for solution and i didn't found ....</p>
  
  <p>this is my code</p>
  
  <pre><code>&lt;form accept-charset="utf-8" method="post" action="&lt;?php echo base_url('send_message/validate'); ?&gt;"&gt;
  
                      &lt;?php
  
                      echo validation_errors();
  
                      echo form_dropdown('cat_name', $plan_cat);
                      ?&gt;
                      &lt;div&gt;
                              &lt;span&gt;&lt;label&gt;اسم الراسل باللغه الانجليزية&lt;/label&gt;&lt;/span&gt;
                              &lt;span&gt;&lt;input name="from" type="text" class="textbox" value="&lt;?php echo set_value('from'); ?&gt;" /&gt;&lt;/span&gt;
                          &lt;/div&gt;
                      &lt;div&gt;
                              &lt;span&gt;&lt;label&gt;العنوان&lt;/label&gt;&lt;/span&gt;
                              &lt;span&gt;&lt;input name="subject" type="text" class="textbox" value="&lt;?php echo set_value('subject'); ?&gt;" /&gt;&lt;/span&gt;
                          &lt;/div&gt;
                          &lt;div&gt;
                              &lt;span&gt;&lt;label&gt;الرساله&lt;/label&gt;&lt;/span&gt;
  
  
                              &lt;?php
                                  /*
                                  $options = array(
                                  'name' =&gt; 'message',
                                  'id' =&gt; 'elm1'
                                  );
  
                                  echo form_textarea($options);
                              */
                              ?&gt;
  
                              &lt;textarea name="message" id="elm1"&gt;&lt;?php echo set_value('message'); ?&gt;&lt;/textarea&gt;
  
                          &lt;/div&gt;
  
                      &lt;div&gt;
                              &lt;span&gt;&lt;input type="submit" value="ارسل" /&gt;&lt;/span&gt;
                        &lt;/div&gt;
  
  
                      &lt;?php
  
                  echo form_close();
  
  
                  ?&gt;
  </code></pre>
  
  <p>and this is my controller code :</p>
  
  <pre><code>$this-&gt;load-&gt;library('form_validation');
  
          $this-&gt;form_validation-&gt;set_rules('from', 'الراسل', 'required|min_length[8]');
          $this-&gt;form_validation-&gt;set_rules('subject', 'عنوان الرساله', 'required|min_length[6]');
          $this-&gt;form_validation-&gt;set_rules('message', 'الرساله', 'trim|required|min_length[10]|xss_clean');
  
  
          if($this-&gt;form_validation-&gt;run() == false){
  
  
              $user_id = $this-&gt;session-&gt;userdata('user_id');
  
              $send = array(
              'title' =&gt; 'ارسل الرساله',
              'plan' =&gt; $this-&gt;user_plan-&gt;get_plan($user_id)
              );
  
              $this-&gt;load-&gt;library('parser');
              $this-&gt;parser-&gt;parse('header', $send);
              $this-&gt;parser-&gt;parse('send_message', $send);
              $this-&gt;parser-&gt;parse('footer', $send);
  
  
          }else{
  
              $user_id = $this-&gt;session-&gt;userdata('user_id');
              $plan_cat = $this-&gt;input-&gt;post('cat_name');
              $from = $this-&gt;input-&gt;post('from', true);
              $subject = $this-&gt;input-&gt;post('subject', true);
              $message = $this-&gt;input-&gt;post('message', true);
  
              $message = '&lt;code&gt;'.$message.'&lt;/code&gt;';
  </code></pre>
  
  <p>i hope to find way to solve this :)</p>