Welcome Guest, Not a member yet? Register   Sign In
require all values in array to be matched when using where_in
#3

[eluser]Andy UK[/eluser]
I tried the following, but after adding a second value to the array, i'm getting no results. Even though both feature ids appear together for a number of properties:

Code:
foreach($this->session->userdata('selected_features') as $feature)
   {
    $this->db->where('feat_prop_join.feature_id', $feature);
   }


Messages In This Thread
require all values in array to be matched when using where_in - by El Forum - 08-27-2014, 06:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB