Hi All!
I was wondering if it's possible to set multiple conditions in a query like :
My goal is to find out how many CONFIRMED (status = 1) connections a user with the given ID has...Code:SELECT * FROM contacts WHERE asker_id = '$user_ID' OR receiver_id = '$user_ID' AND status = 1
Hope someone can help....










Bookmarks