zhshero Posted November 17, 2010 Share Posted November 17, 2010 im trying to get data from mysql from Level_access 2 and 3 so it can echo all the users of 2 and 3 and leave out 1 Link to comment https://forums.phpfreaks.com/topic/219014-how-would-i-do/ Share on other sites More sharing options...
Jocka Posted November 17, 2010 Share Posted November 17, 2010 I assume something like $query = mysql_query("SELECT * FROM table WHERE level_access != '1'"); ???? Link to comment https://forums.phpfreaks.com/topic/219014-how-would-i-do/#findComment-1135823 Share on other sites More sharing options...
Pikachu2000 Posted November 17, 2010 Share Posted November 17, 2010 SELECT `fields` FROM `table` WHERE `level_access` IN(2, 3) Link to comment https://forums.phpfreaks.com/topic/219014-how-would-i-do/#findComment-1135824 Share on other sites More sharing options...
zhshero Posted November 17, 2010 Author Share Posted November 17, 2010 SELECT `fields` FROM `table` WHERE `level_access` IN(2, 3) thanks your the best Link to comment https://forums.phpfreaks.com/topic/219014-how-would-i-do/#findComment-1135828 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.