-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