Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost";/*non so che cazzo scrivere
- $username = "stzullo_dbu";
- $password = "jFdvnGpb17tu7p9z";
- $dbname = "stzullo_dbd";
- try {
- $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);
- $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
- }
- catch(PDOException $e)
- {
- die("OOPs something went wrong");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement