I\'d like the following function to select hotels with an accomodation between a certain $minvalue and $maxvalue. What would be the best way to do
$minvalue
$maxvalue
$this->db->where('accommodation BETWEEN '' . $sdate . '' AND '' . $edate . ''');
this is my solution