brown2005 Posted November 8, 2006 Share Posted November 8, 2006 is there away to select all records in a table accept 1 where saymembers_id='1'it will select all records apart from that recordany help will be good?thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/26579-select-records-apart-from-id1/ Share on other sites More sharing options...
Kano Posted November 8, 2006 Share Posted November 8, 2006 select * from table where members_id != '1'; Quote Link to comment https://forums.phpfreaks.com/topic/26579-select-records-apart-from-id1/#findComment-121567 Share on other sites More sharing options...
moore82 Posted November 8, 2006 Share Posted November 8, 2006 You don't need the ' around the number as it should be saved in your DB as an integer/auto inc. I'm assuming this since the field is called ID Quote Link to comment https://forums.phpfreaks.com/topic/26579-select-records-apart-from-id1/#findComment-121608 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.