Mysql – Passing an array to a query using a WHERE clausee
I want to use array in WHERE clause. But it doesn't work. if (count(is_countable($ekkampanyaId) ? $ekkampanyaId : []) > 0) { $kampanyadizi = implode("','", $ekkampanyaId); $ekkampanyalar = $Panel_Model->urunkampanyalistele($kampanyadizi, date("Y/m/d")); MY sql side public function urunkampanyalistele($array , $tarih) { $sql =…