krellee Posted September 7, 2008 Share Posted September 7, 2008 Hello all i have a question and hope you guys can help me her goes I have a gallery of around 20 images which i can display with no problem http://www.andyhook.com/sections.php?imgSection=wildlife. when a user clicks on an image a larger one appears with no problem how ever what i want to do is be able to navigate the other images from the large one using back and forward buttons. More detail you have 20 images on a page a user clicks on image 10 the large image page shows that image and from that page if i click on back button i want to goto image 9 for forward button image 10. How ever my record set only shows the one record which yoi clicked on. Hope this makes sense and any help i wuld appreciate. Best Regards krellee Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/ Share on other sites More sharing options...
Adam Posted September 7, 2008 Share Posted September 7, 2008 Dont fully understand which bit you'd like help with? Adam Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/#findComment-635776 Share on other sites More sharing options...
krellee Posted September 7, 2008 Author Share Posted September 7, 2008 Hi adam Basically in the large image page i can only get on record(image) and not the others in that section so cant navigate forwards and back wards. I want to be able to load that image and then navigate back wards and forwards from there. It's quite hard to explain but i hope this makes more sense. Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/#findComment-635782 Share on other sites More sharing options...
BlueSkyIS Posted September 7, 2008 Share Posted September 7, 2008 you essentially want pagination with one record per page. i would search for php mysql pagination. i posted on here about it yesterday. Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/#findComment-635792 Share on other sites More sharing options...
krellee Posted September 7, 2008 Author Share Posted September 7, 2008 I can paginate i dont seem to have a problem with that but how do i start from a record in the middle ie number 10 of 20 when i tried it just went back to record 1 and did not start from number 10? Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/#findComment-635801 Share on other sites More sharing options...
GingerRobot Posted September 7, 2008 Share Posted September 7, 2008 How about showing us what you tried then? Quote Link to comment https://forums.phpfreaks.com/topic/123108-navigate-record-set/#findComment-635895 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.