-1
我从数据库中读取图片时遇到此问题。Image nut从数据库中读取Php
它显示了这样的:
此我的代码:
<?php
include 'Header.php';
include 'yzd.php';
?>
<div class="container">
<h1> All Project - Youne Zaidi </h1>
<?php
$posts = mysqli_query($db_connect,"select * from Project order by id desc");
while($post = mysqli_fetch_array($posts)){
echo "
<article>
<a href='Project.php?id=$post[id]'>
<h1>$post[NameProject]</h1>
</a>
<p class='text-muted']>
<h3>$post[TypeProject]</h3>
</p>
<h4>$post[Description]</h4>
$post[Pic];
<p>-----------------------------------------------------------------------------</p>
</article>";
}
?>
如果您打算发布代码图片,请不要期待太多帮助 –
您好!看起来好像你的问题写得很差。它的方式是,它只会吸引downvotes,并没有答案。 –
不要将实际图像存储在数据库中,存储其位置。 – DevDonkey