forumnz Posted June 7, 2008 Share Posted June 7, 2008 How can this be done? For example if I wanted to get the rows in a database, with id's 1,5,37 and 95. How can this be done? Thanks! Sam. Link to comment https://forums.phpfreaks.com/topic/109091-solved-selecting-rows-from-multiple-numbers/ Share on other sites More sharing options...
sasa Posted June 7, 2008 Share Posted June 7, 2008 SELCT blah FROM table WHERE id IN(1,5,37,95) Link to comment https://forums.phpfreaks.com/topic/109091-solved-selecting-rows-from-multiple-numbers/#findComment-559633 Share on other sites More sharing options...
digitalgod Posted June 7, 2008 Share Posted June 7, 2008 beat me to it sasa Link to comment https://forums.phpfreaks.com/topic/109091-solved-selecting-rows-from-multiple-numbers/#findComment-559634 Share on other sites More sharing options...
forumnz Posted June 7, 2008 Author Share Posted June 7, 2008 THANK YOU!! THANK YOU!! THANK YOU!! THANK YOU!! Sam ;D Link to comment https://forums.phpfreaks.com/topic/109091-solved-selecting-rows-from-multiple-numbers/#findComment-559635 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.