rondog Posted May 19, 2008 Share Posted May 19, 2008 My pagination works fine. My problem lies in my search, when I search for a keyword, it pulls up videos from different tape reels in the db. When you select one of the searched items, it goes to tape.php which has the video player on it. The thing is I need to figure out how to determine which page I should go to. Right now my pagination works like tape.php?vid=blahblah&page=blahblah Well say its vid 50 out of 100(limit 10 per page). That should be page 5. I need to figure out how to add the &page link to my search area prior to going to tape.php because according to my pagination code, no &page means you are on page 1 which is false if you are on vid 50 out of 100 with a limit of 10 per page. Any ideas?? Link to comment https://forums.phpfreaks.com/topic/106338-pagination-issue/ Share on other sites More sharing options...
deadonarrival Posted May 19, 2008 Share Posted May 19, 2008 If you have a way of knowing which video you're on, use that. If you know you're on video 50, pass that as a variable, not the page, then work out what page you're on. Link to comment https://forums.phpfreaks.com/topic/106338-pagination-issue/#findComment-544976 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.