Jump to content

Recommended Posts

ok, i get this gallery dis play wich let the user select from 16 photo by page.. if the user click on one foto i'm trying to give them the option to navegate the picture one by one..

all of this work fine tha tonly problem is tha tno matter witch photo the user click on, they are sent to the firs tone and from there they can navegate all the pictures..

i want them to be able if the click on any picture that thy are sent to that picture and they can keep navagating from there on, not start from the first one.. this is what i'm trying to do in code..
[code]
<a href=\"cfv.php?m=".$info['cotm_id']."&foto=".$path['photo_id']."&p='".$_GET['p']."'\">
[/code]

the problem is that the $_get['p'] is located on the second page that they are able to navegate one by one..

so i need a way that when the click to go to that picture they are sent to that one..

complicated?

jus tlok at any gallery and when you click on a theme you get all those picture in that them in some amount of pages when you click on just one they give you the option to keep looking at all the picture one by one..
Link to comment
https://forums.phpfreaks.com/topic/11908-confused/
Share on other sites

[!--quoteo(post=383425:date=Jun 13 2006, 02:09 PM:name=Richard181)--][div class=\'quotetop\']QUOTE(Richard181 @ Jun 13 2006, 02:09 PM) [snapback]383425[/snapback][/div][div class=\'quotemain\'][!--quotec--]
ok, i get this gallery dis play wich let the user select from 16 photo by page.. if the user click on one foto i'm trying to give them the option to navegate the picture one by one..

all of this work fine tha tonly problem is tha tno matter witch photo the user click on, they are sent to the firs tone and from there they can navegate all the pictures..

i want them to be able if the click on any picture that thy are sent to that picture and they can keep navagating from there on, not start from the first one.. this is what i'm trying to do in code..
[code]
<a href=\"cfv.php?m=".$info['cotm_id']."&foto=".$path['photo_id']."&p='".$_GET['p']."'\">
[/code]

the problem is that the $_get['p'] is located on the second page that they are able to navegate one by one..

so i need a way that when the click to go to that picture they are sent to that one..

complicated?

jus tlok at any gallery and when you click on a theme you get all those picture in that them in some amount of pages when you click on just one they give you the option to keep looking at all the picture one by one..
[/quote]


<a href=picture.php?p=(name)><img scr=......></a>

that will work
then on the next page put <img scr=$_GET['p']>
Link to comment
https://forums.phpfreaks.com/topic/11908-confused/#findComment-45269
Share on other sites

[!--quoteo(post=383523:date=Jun 13 2006, 05:40 PM:name=joquius)--][div class=\'quotetop\']QUOTE(joquius @ Jun 13 2006, 05:40 PM) [snapback]383523[/snapback][/div][div class=\'quotemain\'][!--quotec--]
is $_GET['p'] not the page?
[/quote]

$_GET['p'] will retrieve anything in example.com?p=(here) in your address bar!
Link to comment
https://forums.phpfreaks.com/topic/11908-confused/#findComment-45284
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.