techker Posted October 27, 2008 Share Posted October 27, 2008 hey guys i have this databse that contains a admin user. now when i extract all the id's from the database it always shows me that admin.. is there a way in my query to omit id 0? Quote Link to comment https://forums.phpfreaks.com/topic/130289-hide-id/ Share on other sites More sharing options...
The Little Guy Posted October 27, 2008 Share Posted October 27, 2008 SELECT * FROM table_name where id != '0'; Quote Link to comment https://forums.phpfreaks.com/topic/130289-hide-id/#findComment-675689 Share on other sites More sharing options...
techker Posted October 27, 2008 Author Share Posted October 27, 2008 nice !! so this ! means like do not show? Quote Link to comment https://forums.phpfreaks.com/topic/130289-hide-id/#findComment-675694 Share on other sites More sharing options...
The Little Guy Posted October 27, 2008 Share Posted October 27, 2008 != means "does not equal" Quote Link to comment https://forums.phpfreaks.com/topic/130289-hide-id/#findComment-675696 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.