Jump to content

confused


corillo181

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.