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 Quote Link to comment 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'"); ???? Quote Link to comment 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) Quote Link to comment 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 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.