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 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. 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. Link to comment https://forums.phpfreaks.com/topic/15770-phpmysql-query-problem/#findComment-64472 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.