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
Sounds correct but some issues maybe creates executing this query: I would suggest:
$this->db->where( "$accommodation BETWEEN $minvalue AND $maxvalue", NULL, FALSE );