存储图像路径并从数据库中检索图像并进行幻灯片放映 [英] storing the image path and retriveing image from database and make slideshow

查看:54
本文介绍了存储图像路径并从数据库中检索图像并进行幻灯片放映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好EVeryone下午好,有人可以告诉我如何保存和检索存储在文件夹中的图像路径名,并且该路径必须保存在数据库中,并且我必须检索图像的该路径并制作幻灯片.请显示,以便任何人可以为此帮助我.

Hi EVeryone Good afternoon can anyone tell me how i can save and retrive the images path name which is stored in the folder and that path has to be saved in the database and i ve to retrive that path of the images and make slide show so can anyone help me for this please

推荐答案

尝试按照我昨天给您的指示进行操作:
Try following the instructions I gave you yesterday: Storing and Retriving images and scroll those images by id[^]

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.


hi ,,

只需将varchar字段放入db中,然后将路径另存为该字段中的字符串即可.喜欢
image/imagename.jpg

image是您保存图像的文件夹
,

just put a varchar field in db and just save the path as a string in that field. like
image/imagename.jpg

where image is the folder where u save the image


这篇关于存储图像路径并从数据库中检索图像并进行幻灯片放映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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