Advertisement
Guest User

Untitled

a guest
Oct 5th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. $host = "localhost";
  5. $username = "root";
  6. $password = "root";
  7. $dbname = "test3";
  8. $dsn = "mysql:host=$host;dbname=$dbname";
  9. $options = array(
  10. PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
  11. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement