title: How to get value from textarea in Laravel 5.2?
body: <p>I'm currently working on Laravel 5.2 and I'm finding difficult to fetch value from <code>textarea</code> inside controller.</p>
  
  <p>I've tried <code>$request-&gt;input</code> just like we used to fetch values from inputs but it's not working in my case. I have done this far.</p>
  
  <h2>managecategories.blade.php</h2>
  
  <pre><code>&lt;form action="/addcategories" method="post" id="addcategory_form" name="addcategory_form"&gt;
      &lt;div&gt;
          &lt;label&gt;Insert Category&lt;/label&gt;
          &lt;input type="text" name="category" data-validation="required" data-validation="custom" data-validation-regexp="^[a-zA-Z ]{2,30}$"&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;label&gt;Insert Category&lt;/label&gt;
          &lt;textarea  name="category" data-validation="required" data-validation="custom" data-validation-regexp="^[a-zA-Z ]{2,30}$" row="5" col="200"&gt;&lt;/textarea&gt; 
      &lt;/div&gt;
      &lt;input type="submit" value="Add Category" id="category_btn"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <h2>AdminAjaxController</h2>
  
  <pre><code>public function addcategory(Request $request)
  {
      $category=$request-&gt;input('category');
      $category_description=$request-&gt;input('description');
      $insertcategory= DB::insert('insert into categories(category_name,description) values(?, ?)',[$category,$category_description]);
      $fetch_category= DB::select('select category_name,category_id from categories');
      return response()-&gt;json(array('add_category' =&gt; $category),200);
  }
  </code></pre>