Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Salon Pielęgnacji</title>
- <link rel="stylesheet" href="salon.css">
- </head>
- <body>
- <div id="baner">
- <h1>SALON PIELĘGNACJI PSÓW I KOTÓW</h1>
- </div>
- <div id="lewy">
- <h3>SALON ZAPRASZA W DNIACH</h3>
- <ul>
- <li>Poniedziałek, 12:00 - 18:00</li>
- <li>Wtorek, 12:00 - 18:00</li>
- <a href="pies.jpg"><img src="pies-mini.jpg" width="120px" alt=""></a>
- <p>Umów się telefonicznie na wizytę lub po prostu przyjdź!</p>
- </div>
- <div id="srodkowy">
- <h3>PRZYPOMNIENIE O NASTĘPNEJ WIZYCIE</h3>
- </div>
- <div id="prawy">
- <?php
- $pol= @mysqli_connect("localhost","root","","salon");
- $sql="SELECT nazwa,cena FROM `uslugi` ";
- $wynik=mysqli_query($pol,$sql);
- while($row=mysqli_fetch_assoc($wynik)){
- echo "<br/>Nazwa: ",$row['nazwa'], "<br/>Cena: ",$row['cena'],"<br/>";}
- mysqli_close($pol);
- ?>
- <h3>USŁUGI</h3>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement