Sql从文件夹中检索图像

Sql从文件夹中检索图像

本文介绍了Sql从文件夹中检索图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新来的这个


想知道是否有人可以提供帮助


我正在学习sql并且已经搜索了一天以上的答案,没有运气。我找到了这个网站,看起来你们都互相帮助。


我有一个名为listing_photo的数据库


其中有行photo_listing (独特的物业编号)

&行photo_caption (保留照片的标题)


图像保存在名为mysite / photo_big的文件夹中


我想展示相关内容每个特定属性的照片。在我的网站的属性模板中。还会在每个下方显示照片标题。每个房产有8张照片。


有人能告诉我在sql php中执行此操作的正确方法吗?

Hi, new here

Wonder if anyone can help

I am learning sql and have searched for the answer for over a day, with no luck. I found this site and it seems you all help each other.

I have a database called "listing_photo"

In that there is row "photo_listing" (unique property number)
& row "photo_caption" (holds the caption for the photo)

The images are kept in a folder called mysite/photo_big

I would like to show the relevant photos for each particular property. in the property template in my site. Also show the photo caption under each. There are 8 photos for each property.

Can anyone show me the correct way to do this in sql php?

推荐答案

展开 | 选择 | Wrap | 行号




这篇关于Sql从文件夹中检索图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 19:19