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 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 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.