majhate Posted February 8, 2008 Share Posted February 8, 2008 Hello, I am trying to use two 'where's in this query. I do not know if I am doing it right, nor if it is even possible. SELECT * from user where l_name = '$l_name' && age < '17' Thanks, Jason Link to comment https://forums.phpfreaks.com/topic/90088-mysql-select-help/ Share on other sites More sharing options...
fenway Posted February 8, 2008 Share Posted February 8, 2008 No problem... I find it's easier to read "AND", but it's the same. Just remember precedence rules if you mix OR's and AND's. Link to comment https://forums.phpfreaks.com/topic/90088-mysql-select-help/#findComment-461933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.