todayme Posted March 8, 2007 Share Posted March 8, 2007 Tomorrow I will need to write some code, the sql statement will need to check more than one pair of variables passed. Can this be done in an sql statment? I have never done it before. It would go something like SELECT FROM TABLE WHERE X = VAR1 AND Y = VAR2 OR X = VAR2 AND Y = VAR3 OR ETC ETC. Link to comment https://forums.phpfreaks.com/topic/41768-and-or-in-pairs/ Share on other sites More sharing options...
tauchai83 Posted March 8, 2007 Share Posted March 8, 2007 i do not understand what you want. try to be give more detail. Link to comment https://forums.phpfreaks.com/topic/41768-and-or-in-pairs/#findComment-202540 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.