php读取数据库图片到页面显示不出来,图片显示不出来,但是数据库里有显示

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

index.php

include 'con.php';

?>

#container{width: 17%;margin: auto auto;}

.news_list {

list-style: none;

}

.loadmore {

color: #ffffff;

border-radius: 5px;

width: 60%;

height: 50px;

font-size: 15px;

background: rgba(148, 175, 255, 0.94);

outline: 0;

}

.loadbutton{

text-align: center;

}

$query = mysql_query("SELECT * FROM main");

while($data=mysql_fetch_array($query)){

$title=$data['name'];

$mainid = $data['id'];

$image = $data['image'];

echo "";

echo'


';

}

?>

本文链接:https://my.lmcjl.com/post/19975.html

展开阅读全文

4 评论

留下您的评论.