When Searching for a Second Product |
Your current query will produce
WHERE 'company_products.sys_id' = $product_1 AND 'company_products.sys_id' = $product_2 The second where should be an or_where so it will produce WHERE 'company_products.sys_id' = $product_1 OR 'company_products.sys_id' = $product_2 PHP Code: $this->db->where('company_products.sys_id', $product_1); |
Messages In This Thread |
When Searching for a Second Product - by poldings - 06-15-2017, 04:18 AM
RE: When Searching for a Second Product - by Martin7483 - 06-15-2017, 05:33 AM
RE: When Searching for a Second Product - by poldings - 06-15-2017, 05:45 AM
RE: When Searching for a Second Product - by Martin7483 - 06-15-2017, 06:38 AM
|