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 Quote 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 Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/90086-mysql-select-help/#findComment-461903 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.