开发者

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

Then I'm going to use some databases to print some information on the page like:

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜