title: how to keep values in textfields after submitting a form in laravel 5.2
body: <p>I have a form to filter data as per the entered from and to date. Everything is working fine but I just want that values should be keep in textfields.<br>
  I tried as -<br>
  view -  </p>
  
  <pre><code>&lt;form action="{{url('user/manage')}}" method="post"&gt;
  &lt;input type="text" placeholder="From" name="from_date" value="{{old('from_date')}}" id="from_date" class="form-control"&gt;
  &lt;input type="text" placeholder="To" name="to_date" value="{{old('to_date')}}" id="to_date" class="form-control"&gt;
  &lt;input type="submit" value="Filter" name="submit" class="btn btn-default"&gt;
  &lt;input type="text" placeholder="Enter E mail" name="email_search" id="" value="{{old('email_search')}}" class="form-control"&gt;
  &lt;input type="hidden" name="_token" value="{{{ csrf_token() }}}" /&gt;
  &lt;input type="submit" value="Show" name="submit" class="btn btn-default"&gt;
  &lt;/form&gt;  
  </code></pre>
  
  <p>Controller -  </p>
  
  <pre><code>$values=[];
  $values['from_date']=$from;  
  $values['to_date']=$to;  
  return view('show',['users'=&gt;$users])-&gt;withInput($values);  
  </code></pre>
  
  <p>Please Help me to solve this.<br>
  Thanks.</p>