gdfhghjdfghgfhf Posted April 22, 2008 Share Posted April 22, 2008 i want to select all the entrys from item #7 to item #13 in a table... how can i do this? i tryed with $query = "SELECT * from bands_pics WHERE bandid = '$id' ORDER BY id DESC LIMIT 7, 13"; but it displays 13 entries and not #7 to #13 Link to comment https://forums.phpfreaks.com/topic/102387-solved-big-newbie-question-query-entry-7-to-13/ Share on other sites More sharing options...
Barand Posted April 22, 2008 Share Posted April 22, 2008 LIMIT start_at, how_many $query = "SELECT * from bands_pics WHERE bandid = '$id' ORDER BY id DESC LIMIT 6, 7"; Link to comment https://forums.phpfreaks.com/topic/102387-solved-big-newbie-question-query-entry-7-to-13/#findComment-524264 Share on other sites More sharing options...
gdfhghjdfghgfhf Posted April 22, 2008 Author Share Posted April 22, 2008 ohhh, damn i'm dumb lol thank you! Link to comment https://forums.phpfreaks.com/topic/102387-solved-big-newbie-question-query-entry-7-to-13/#findComment-524266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.