title: Fields does not Update in laravel5
body: <p>I am working on Laravel Form data Updation with image update. Now here my image only update smoothly in my DB. But other field does not update. anyone can identify what is my mistake? i attached my code below:</p>
  
  <p>Controller </p>
  
  <pre><code>    public function siteadmin_update_ads(Request $request)
      {
  
  
         $post = $request-&gt;all(); 
          $cid=$post['id'];  
          $name = $post['ads_title'];
          $url = $post['ads_url'];
          $img=Input::file('ads_image');;
  
          $v=validator::make($request-&gt;all(),
                  [
                      'ads_title'=&gt;'required',
                      'ads_url' =&gt; 'required',
                      'ads_image'=&gt; 'required'
                  ]
                  );
  
          if($v-&gt;fails())
          {
              return redirect()-&gt;back()-&gt;withErrors($v-&gt;errors());
          }
  
  
  
          else 
  
              {
              if($img-&gt;isvalid())
              {
                  $extension=$img-&gt;getClientOriginalName();
                  $move_img = explode('.',$extension);
                  $fileName=$move_img[0].str_random(8).".".$move_img[1];
                  $destinationPath = '../assets/adsimage/';
  
  
  
                  $uploadSuccess=Input::file('ads_image')-&gt;move($destinationPath,$fileName);
  
              $data=array(
  
                  'ads_title'=&gt; $name,
                  'ads_url'=&gt;   $url,
                  'ads_image'=&gt;$fileName,
  
              );
  
              $i=Ads_model::update_ads($data,$cid);
  
              if($i&gt;0)
              {
                  Session::flash ('message_update', 'Record Updated Successfully');
                  return redirect('siteadmin_manageads');
              }
          }
  
               else {
   return Redirect('siteadmin_editads');
  }   
  }
  }
  </code></pre>
  
  <p>Model</p>
  
  <pre><code>public static function update_ads($data,$cid)
      {
        return DB::table('le_ads')-&gt;where('id',$cid)-&gt;update($data);  
      }
  </code></pre>
  
  <p>View </p>
  
  <pre><code>  &lt;form class="form-horizontal form-label-left" id="myform" novalidate method="POST" action="{{action('SiteadminController@siteadmin_update_ads')}}" enctype="multipart/form-data"&gt;
  
                 &lt;input type="hidden" name="_token" value="&lt;?php echo    csrf_token(); ?&gt;"&gt;
  &lt;input type="hidden" class="form-control" name="id" value="&lt;?php echo $row-&gt;id  ?&gt;" id="id"&gt;
                                      &lt;div class="item form-group"&gt;
                                          &lt;label class="control-label col-md-3 col-sm-3 col-xs-12" for="name"&gt;Ad Title&lt;span class="required"&gt;*&lt;/span&gt;
                                          &lt;/label&gt;
                                          &lt;div class="col-md-6 col-sm-6 col-xs-12"&gt;
                                              &lt;input id="name" class="form- control col-md-7 col-xs-12" data-validate-length-range="3" name="ads_title"  placeholder="Ad Title" required type="text" value="&lt;?php echo $row-&gt;ads_title ?&gt;"&gt;
                                          &lt;/div&gt;
                                      &lt;/div&gt;
      &lt;div class="item form-group"&gt;
                                            &lt;label class="control-label col-md-3  col-sm-3 col-xs-12"&gt;Upload Image*&lt;/label&gt;
                                        &lt;div class="col-md-9 col-sm-6 col-xs-12"&gt;
                                          &lt;input type='file' id="field" class='demo left' name='ads_image' data-type='image' data-max-size='2mb'/&gt;&lt;br&gt;
                                          &lt;img src="{{ url('../assets/adsimage/').'/'.$row-&gt;ads_image}}" style="height:90px;"&gt;
                                          &lt;/div&gt;
                              &lt;/div&gt;
  
                                    &lt;div class="item form-group"&gt;
                                          &lt;label class="control-label col-md-3 col-sm-3 col-xs-12" for="name"&gt;Redirect URL&lt;span class="required"&gt;*&lt;/span&gt;
                                          &lt;/label&gt;
                                          &lt;div class="col-md-6 col-sm-6 col-xs-12"&gt;
                                              &lt;input id="name" class="form-control col-md-7 col-xs-12" data-validate-length-range="3" name="ads_url" placeholder="Redirect URL" required type="url" value="&lt;?php echo $row-&gt;ads_url ?&gt;"&gt;
                                          &lt;/div&gt;
                                      &lt;/div&gt;
  
  
  
                                    &lt;div class="item form-group"&gt;
                                      &lt;div class="col-md-3"&gt;&lt;/div&gt;
                                      &lt;div class="col-md-2 col-sm-6 col-xs-12"&gt;
  
                                  &lt;button class="btn btn-block btn-success" type="submit"&gt;Update&lt;/button&gt;
                              &lt;/div&gt;
                               &lt;div class="col-md-2 col-sm-6 col-xs-12"&gt;
                                  &lt;button class="btn btn-block btn-danger" type="reset"&gt;Cancel&lt;/button&gt;
                              &lt;/div&gt;
                           &lt;/div&gt;
  
  
                    &lt;/form&gt;
  </code></pre>