codeigniter where_not_in

$this->db->where_not_in('column_name', $array_of_values);
$query = $this->db->get('table_name');
  1. Replace 'column_name' with the name of the column you want to filter.
  2. Replace $array_of_values with an array containing the values that you want to exclude from the query results.
  3. Replace 'table_name' with the name of the table you are querying.
  4. The where_not_in() function generates a NOT IN SQL condition for the specified column and values.
  5. The get() function executes the query and retrieves the results from the specified table. ```