gallery.php
<a href="index.php?page=gallery2" $path=path-001 $image=image>
<a href="index.php?page=gallery2" $path=path-002 $image=image>
<a href="index.php?page=gallery2" $path=path-003 $image=image>
etc..
and have those values appear here:
gallery2.php
<img src="images/$path/s-$image-1.jpg">
<img src="images/$path/s-$image-2.jpg">
<img src="images/$path/s-$image-3.jpg">
etc..
for an end result of:
<img src="images/path-001/s-image-1.jpg">
<img src="images/path-001/s-image-2.jpg">
<img src="images/path-001/s-image-3.jpg">
I intend to have a few hundred pages of these pictures with the same path and naming structure, and am trying to keep the HTML and # of pages to a bare minimum on my site. I admit I have no clue how to make the desired effect happen - i've viewed dozens of tutorials on sessions and cookies, and each and every last one I've checked shows examples of how to show users the date & time, their # of visits to your website, or to tell them what their name is after they've entered it in a text box; but not a single example of using a link to change variables for the target page
Thanks in advance for any help or useful links/references that I've missed on the subject.