如何使用while循环显示存储在mysql中的5张图片。 [英] How to display 5 pictures stored in mysql using while loop.

查看:77
本文介绍了如何使用while循环显示存储在mysql中的5张图片。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生/女士

i在mysql中有5个图片存储,现在我想在页面上显示这些图片,使用while循环。,在php中。

请通过非常简单的代码告诉我。

感谢你。

最好的问候。

ikram

Hello Sirs/madam
i have 5 picture store in mysql , and now i want to display these picture on the page ,using while loop ., in php.
please let me know through very very simple code.
thanking you.
best regards.
ikram

推荐答案

Heya,ikram。欢迎来到TSDN!


你在PHP文章部分发布了这个。我会继续将它移到PHP论坛,专家将更有可能找到它。


更改了主题标题以更好地描述问题。
Heya, ikram. Welcome to TSDN!

You posted this in the PHP Articles section. I''ll go ahead and move it to the PHP Forum where an Expert will be more likely to find it.

Changed thread title to better describe the problem.


二进制数据实际保存在数据库中,还是只保存在文件名中?
Is the binary data actually saved in the database, or just the filenames?



二进制数据是否实际保存在数据库中,还是只是文件名?
Is the binary data actually saved in the database, or just the filenames?



你好先生。

这些图片在mysql中以blob形式存储。我想通过while循环显示这些所有图片。我会理解非常简单的代码。


谢谢。

ikram

Hello sir.
these pictures stores as blob in mysql. and i wnt to display these all pictures through while loop. i will understand very very simple code.

thanks.
ikram


这篇关于如何使用while循环显示存储在mysql中的5张图片。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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