This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
jojoboly36935132
Need help I have this function in my controller Not working, 0 result public function onSearchVoyage() { $lieu_depart = (string)Input::get('lieudepart');
$voyage = Db::table('olivier_ndaoo_voyage')
->where('lieudepart', "$lieu_depart")
->get();
return $voyage;
}
But if I do that, it's work public function onSearchVoyage() { $lieu_depart = (string)Input::get('lieudepart');
$voyage = Db::table('olivier_ndaoo_voyage')
->where('lieudepart', "Paris")
->get();
return $voyage;
}
What's the problem???
1-1 of 1