gtridez Posted July 6, 2006 Share Posted July 6, 2006 Hey guys...i'm wondering if anyone knows how to have multiple WHERE conditions...example --> SELECT * FROM table [b]WHERE rid=$ride && uid=$userid && accepted='0'[/b]I need help selecting rows where all three of the conditions above are met...anyone knows how to do this?any help will be greatly appreciate...thanx Quote Link to comment https://forums.phpfreaks.com/topic/13896-need-help-with-selecting-multiple-where-conditions/ Share on other sites More sharing options...
fenway Posted July 6, 2006 Share Posted July 6, 2006 Why not use the word "AND"? Quote Link to comment https://forums.phpfreaks.com/topic/13896-need-help-with-selecting-multiple-where-conditions/#findComment-54162 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.