ياخواني واجهت مشكله عندم استدعي صوره من قاعده البيانات بلغه php تضهر لي ايقونه الصوره ولكن لا تظهر الصوره ارجوكم ما الحل
هذاهو الكود الخاص بي
<!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title> الوجبات </title>
<link rel="stylesheet" href="cssfood.css">
</head>
<body>
<center>
<h2>جميع الوجبات المتوفره</h2>
</center>
<?php
include('configg.php');
$result = mysqli_query($con ,"SELECT * FROM food");
while ($rae = mysqli_fetch_array($result)){
echo "
<center>
<main>
<div class='borderim'>
<center>
<img src='$rae[image]'class='im' width= '100%' height='140px'>
<div class='imgbody'>
<h5 class='titl'>$rae[name]</h5>
<p class='text'>$rae[price]</p>
<a href='#'> go</a><a href='#'> no</a>
</div>
</center>
</div>
</main>
</center>
</body>
</html>
";
}
?>
</body>
</html>
التعليقات