DeanWhitehouse Posted January 21, 2009 Share Posted January 21, 2009 Just wondering, i have seen on sites that they take the user to the latest post or whatever even when using pageination but how does it work does it have to calculate what page it would be on based on the amount of replies in the database. Link to comment https://forums.phpfreaks.com/topic/141851-random-stuff-about-pagination/ Share on other sites More sharing options...
Maq Posted January 21, 2009 Share Posted January 21, 2009 I'm not sure but I would imagine you could just ORDER BY the number of replies each topic has. Link to comment https://forums.phpfreaks.com/topic/141851-random-stuff-about-pagination/#findComment-742712 Share on other sites More sharing options...
DeanWhitehouse Posted January 21, 2009 Author Share Posted January 21, 2009 Huh? Did you read what i wrote, the latest reply will be on the last page but i need to get to a specific reply which might be on the third. Normally (without pagination) I would do site.com/file.php#reply_5 or something but with pagination that wouldn't work, i would need the page number. Link to comment https://forums.phpfreaks.com/topic/141851-random-stuff-about-pagination/#findComment-742714 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.