Use Three Conditions In WHERE Clause Of Mysql Query?May 30, 2011
Here is my current MySQL syntax (but this doesn't work):
SELECT * FROM posts WHERE userID = $userID AND postBy = $postBy AND postType = 'unread'
Here is the picture of my MySQL table (a picture can show more than words!) I want to know if there is any other way of doing it or if I have to forget this idea?