I want to pull data from a database but only show fields that are equal to 1 and its id equal to 7 say in an html select.
Let me explain myself better: If your id is equal to 7 but your "home" field is equal to one, I do not want to show "home" in the select