Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pl">
- <head>
- <meta charset="UTF-8">
- <title>test</title>
- <link href="stylesheet.css" rel="stylesheet" type="text/css">
- <?php
- $servername = "localhost"; //nazwa serwera
- $username = "marcin"; //nazwa użytkownika
- $password = "1234"; //hasło do profilu użytkownika
- // Tworzenie połączenia
- $conn = new mysqli($servername, $username, $password);
- // Sprawdzanie połączenia
- if ($conn) {
- echo "Połączono!";
- }else
- echo "Nie udało się nawiązać połączenia :((";
- ?>
- </head>
- <body>
- <div class="x">costam</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement