如何在在线商店中查看所选项目详细信息

问题描述:

大家好,



我正在开发我的最后一年项目(在线商店)。我从数据库加载图像(例如 -

http://prntscr.com/4qwwtc [

和我在这里点击更多或点击图片我想要从数据库加载所有细节。我已经在数据库中添加了详细信息。

我只是想知道如何在不同的页面上加载相同的图像细节,当我点击更多详情。任何帮助将不胜感激。

提前谢谢

Hi Guys,

Im developing my final year project(online store). I load an image from database(eg-
http://prntscr.com/4qwwtc[)
and here i when i click more or click on the image i want to load all the details from database. I've added the details on database.
I just want to know how to load same image details on different page when i click More details.Any help will be much appreciated.
Thanks in advance

您应该在会话中获取图像的某些信息(如id或name),或通过QueryString将其传递到下一页。



然后在下一页上进行检索并做你想做的事。
You should some information (like id or name) of the image in session or pass that to the next page through QueryString.

Then retrive that on the next page and do what you want.