Up until now I've only queries based on a single request. (i.e. SELECT * FROM links where Type = $Type). But what if I had more than one $Type? For instance, I have a links table set up that groups links into different types. So what I'd like is for the user to be able to "check" which types they want to see and then list the links defined by that type. Manually I know how to do this:
SELECT * FROM links WHERE Type = a AND Type = b, etc.
But how do I get PHP to automate this to know which types the user has picked and than run a query accordingly?