Stephen68 Posted November 25, 2007 Share Posted November 25, 2007 Hello all! I was wondering if you could do a multi line update with the WHERE clause, like. UPDATE table SET field='true' WHERE id='3,4,5,' I know this will not work because I tested it but can you do something along those lines? Any help would be greatly appreciated. Cheers! Stephen Link to comment https://forums.phpfreaks.com/topic/78733-solved-multi-record-update/ Share on other sites More sharing options...
fenway Posted November 25, 2007 Share Posted November 25, 2007 WHERE id IN ('3','4','5') Link to comment https://forums.phpfreaks.com/topic/78733-solved-multi-record-update/#findComment-398471 Share on other sites More sharing options...
Stephen68 Posted November 25, 2007 Author Share Posted November 25, 2007 Thanks works great !! Stephen Link to comment https://forums.phpfreaks.com/topic/78733-solved-multi-record-update/#findComment-398476 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.