ericc59 Posted July 27, 2006 Share Posted July 27, 2006 Can anyone tell me why this query would return 49 results instead of 25?[code]$query = "SELECT id FROM forum_threads WHERE forum='2' ORDER BY id DESC LIMIT 25, 50";[/code]Thanks,Eric Quote Link to comment https://forums.phpfreaks.com/topic/15770-phpmysql-query-problem/ Share on other sites More sharing options...
trq Posted July 27, 2006 Share Posted July 27, 2006 Because your telling it to return 50 results starting at result number 25. Quote Link to comment https://forums.phpfreaks.com/topic/15770-phpmysql-query-problem/#findComment-64471 Share on other sites More sharing options...
ericc59 Posted July 27, 2006 Author Share Posted July 27, 2006 Oh, ok. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/15770-phpmysql-query-problem/#findComment-64472 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.