Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "";
- $basename = "biblioteka";
- $conn = new mysqli($servername, $username, $password, $basename);
- if ($conn->connect_error){
- die("Polaczenie nieudane. Blad: " . $conn->connect_error);
- }
- echo "Polaczenie udane.";
- $conn -> close ();
- $conn = null;
- ?>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement