PHP代码中使用PHP更改图像的问题 [英] Problem in PHP code changing Image with PHP
本文介绍了PHP代码中使用PHP更改图像的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Mysql中有包含id和item的表,它们都是boolean(1,0),并且我想在html页面中显示Image,如果item等于"1"则显示Image1,如果item等于"0"则显示Image2 .形成图像文件夹.任何人都可以帮助我,谢谢.
Hi ,
I have table in Mysql including with id and item, both of them are boolean(1,0) and I want show the Image in html page , If item equal to "1" show Image1 , If item equal to "0" show Image2. form the image folder. anybody can help me pls.thank you.
推荐答案
mysql_connect(host,
mysql_connect(host,
用户名,
密码);
@mysql_select_db(
password);
@mysql_select_db(
这篇关于PHP代码中使用PHP更改图像的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文