SacredProductions Posted September 28, 2005 Share Posted September 28, 2005 Is there a way to limit the number of rows simply by specifying the number of the row? What would be the code to display rows such as - 10 through 20, or rows 30 through 40? Thanks for any help! - Ben Quote Link to comment https://forums.phpfreaks.com/topic/2578-how-to-limit-the-of-rows/ Share on other sites More sharing options...
hvle Posted September 28, 2005 Share Posted September 28, 2005 Is there a way to limit the number of rows simply by specifying the number of the row? What would be the code to display rows such as - 10 through 20, or rows 30 through 40? Thanks for any help! - Ben 300595[/snapback] add a limit to the end of query. to select rom 10 to 20, you'd like to skip 9 rows, and get next 11 rows: select ....... limit 9,11; Quote Link to comment https://forums.phpfreaks.com/topic/2578-how-to-limit-the-of-rows/#findComment-8562 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.