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
I think we can write like this : $this->db->where('accommodation >=', minvalue); $this->db->where('accommodation <=', maxvalue);
//without dollar($) sign It's work for me :)