chriscloyd Posted January 3, 2007 Share Posted January 3, 2007 would this work if i want to get three different types of rows from one column $get_staff = mysql_query("SELECT * FROM users WHERE level = ('admin','staff','sales')") Quote Link to comment Share on other sites More sharing options...
trq Posted January 3, 2007 Share Posted January 3, 2007 No, but...[code]SELECT * FROM users WHERE level IN('admin','staff','sales');[/code]will. Quote Link to comment 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.