Jump to content

[SOLVED] Query question I can't figure out.


mattnoble

Recommended Posts

Ok so here's the deal. I've been trying to figure out how to go about this for a while and I just can't make sense out of it.

 

I'm going to have a form with a bunch of checkbox options that will pertain to values in a database. Lets say I have A, B, C, D, E, and F options on the form. Each record in the database will have a field that pertains to these values. If the user selects the A, B, C, and D options I want the query to select any record that has at MOST the combination A, B, C, and D. By at most I mean I want it to pull entries that also have just [A and B], or [A, B, and C], or so on, but NONE that have more than E or F.

 

I was just wondering if anyone could help me out. I appreciate it.

Link to comment
https://forums.phpfreaks.com/topic/62240-solved-query-question-i-cant-figure-out/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.