How do I store image ID in query-string?
I've used "ImageFlow" on my personal we开发者_开发技巧bsite, and what I want to do is that when you click on an image, another page opens with the ID of the image stored in a query-string like when you are using $_get in a form. For example:
http://www.mywebsite.com/details.php?id=001
Place: Lake Otawa
Date: 1/1-2011
And so on...
Thanks in advance :)Hard to answer without any additional code. Where is the image id stored?
Guessing this would do:
<a href="http://domain.com/image.php?id=<?php echo $image_id;?>"><img src="image/path.jpg" target="_blank"/></a>
精彩评论