sending info to next page ?
Posted: Wed Oct 16, 2002 7:47 am
Hello, hope someone can help me (again lol), so i'm close to having this done but am stuck. I've read the sticky at the top of this forum but it's well over my head lol.
What i've got is a image gallery with thumbnails (this bit working fine), what i need it to do is once i click on a thumbnail is for it to open in showpic.php. I'm not quite sure how to tell showpic.php to display the pic clicked on. But below is the code i've made. it's not right
..but i ain't sure where i'm going wrong.
in showpic.php i've got this where i want the image to show.
hope someone can help and tell me where i've gone wrong 
Thanks again
Visual (Newbie PHPer)
What i've got is a image gallery with thumbnails (this bit working fine), what i need it to do is once i click on a thumbnail is for it to open in showpic.php. I'm not quite sure how to tell showpic.php to display the pic clicked on. But below is the code i've made. it's not right
Code: Select all
$ctime = filectime("$dir/$a_imgї$x]");
if("$dir/$a_imgї$x]" !="")
print "<td align=center><a href=./showpic.php?$a_imgї$x]=$image" target="_self"><img src="$dir/$a_imgї$x]" height=$height width=$width border=0></a></td>\n";
}
if(($x%$col) == ($col-1))
{
print "</tr>\n";
$r++;
}Code: Select all
<?php
echo("<p align="center">$image</p>");
?>Thanks again
Visual (Newbie PHPer)