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')") Link to comment https://forums.phpfreaks.com/topic/32765-solved-php-mysql-query/ 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. Link to comment https://forums.phpfreaks.com/topic/32765-solved-php-mysql-query/#findComment-152537 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.