Untitled

mail@pastecode.io avatar
unknown
plain_text
4 months ago
1.1 kB
7
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="styl3.css">
</head>
<body>
    <div id="baner">
        <h1>Hurtownia</h1>
    </div>
    <div id="container">
        <h2> Opinie naszych klientów</h2>
        <?php
        $con=mysqli_connect("localhost","root","","ee0920220603");
        $zapytanie="select klienci.zdjecie,klienci.imie,opinie.opinia from klienci join opinie on klienci.id=opinie.Klienci_id where klienci.Typy_id in (2,3)";
        $zapdobazy=mysqli_query($con,$zapytanie);
        while($odpzbazy=mysqli_fetch_assoc($zapdobazy)){
            echo '<div id="opinia">';
            echo '<img src="'.$odpzbazy["zdjecie"].'" alt="klient">' ;
            echo $odpzbazy["imie"];
            echo $odpzbazy["opinia"];
            echo '</div id="opinia">';
        }
        ?>
    </div>

</body>
</html>
Leave a Comment