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 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"? 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
Archived
This topic is now archived and is closed to further replies.