$query = $this->db->query("SELECT * FROM default_albums da
INNER JOIN default_album_hc_connect d ON d.albums_id = da.album_id_da
INNER JOIN default_hottest_categories dhc ON dhc.id = d.hottest_categories_id
WHERE dhc.is_hottest = 'Yes'");
The above is my current query. I have an array called results that is being pulled in from an ajax post. How can I take that array and return rows that don't equal the values from that array?