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 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'; 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 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
Archived
This topic is now archived and is closed to further replies.