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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/41768-and-or-in-pairs/#findComment-202540 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.