like hawleyjr said try printing it out, or take it out and just print something to make sure it works, it would also help if you posted more code, so we can see where featured comes from..
Edit: is the query supose to be in the if statement?
I will try printing the outout and making sure there is out put and whether any mathces up, although it should do.
The $featured[] and $types[] come from a form on a previous page. A list of types of insurance are displayed with 2 checkboxes. One for user to select to include and the other to select if that type is to be featured.