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/90086-mysql-select-help/ Share on other sites More sharing options...
jeepin81 Posted February 8, 2008 Share Posted February 8, 2008 SELECT * FROM user Link to comment https://forums.phpfreaks.com/topic/90086-mysql-select-help/#findComment-461889 Share on other sites More sharing options...
jeepin81 Posted February 8, 2008 Share Posted February 8, 2008 whoops: SELECT * FROM user WHERE l_name = '$l_name' AND age < '17'; i think that is what you are looking for? j Link to comment https://forums.phpfreaks.com/topic/90086-mysql-select-help/#findComment-461893 Share on other sites More sharing options...
revraz Posted February 8, 2008 Share Posted February 8, 2008 Just curious, but did you even try it to see if it would work? 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/90086-mysql-select-help/#findComment-461903 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.