I have an array that I output through a loop. It's a list of states. Now I need to run a query ona table and if I find any results associated with this state in db mark this table with, say <strong>State</strong> tags.
Having difficulties figuring it out. I'd hate to run a query 50 times to get the results... There's gotta be a better way.