如何在在线商店中查看所选项目详细信息 [英] How to view selected item details in online store

查看:57
本文介绍了如何在在线商店中查看所选项目详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



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

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.


这篇关于如何在在线商店中查看所选项目详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆