A
Anonymous
Guest
Hello Helix
On this case while you clicking a image in gallery which leads to the photo displaying page along with comments. So you have to pass an value to this page in URL like below
In phototemplate.php page get the value from URL and write an query to fetch the image as well as comments
Hope this help you..For more details you can visit http://www.webinfopedia.com
Thank You
On this case while you clicking a image in gallery which leads to the photo displaying page along with comments. So you have to pass an value to this page in URL like below
Code:
<a href="phototemplate.php?photoid=1"><img src="image.jpg" /></a>
Code:
$query="SELECT * FROM photo where id=".$_REQUEST['photoid']."";
Thank You