title: About request, controller
body: <p>I have this function in my controller. Not working, 0 result </p>
  
  <pre><code>public function onSearchVoyage() { $lieu_depart = (string)Input::get('lieudepart');
  
      $voyage = Db::table('olivier_ndaoo_voyage')
          -&gt;where('lieudepart',  "$lieu_depart")
          -&gt;get();
  
      return $voyage;
  }
  </code></pre>
  
  <p>But if I do this it works</p>
  
  <pre><code>public function onSearchVoyage() { $lieu_depart = (string)Input::get('lieudepart');
  
      $voyage = Db::table('olivier_ndaoo_voyage')
          -&gt;where('lieudepart',  "Paris")
          -&gt;get();
  
      return $voyage;
  }
  </code></pre>
  
  <p>What's the problem?</p>