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? 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'; 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? 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" Link to comment https://forums.phpfreaks.com/topic/130289-hide-id/#findComment-675696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.