Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. <?php
  2. $host = 'localhost';
  3. $dbName = 'database';
  4. $username = 'root';
  5. $password = 'secretPassword';
  6.  
  7. $dbCon = new PDO("mysql:host=".$host.";dbname=".$dbName, $username, $password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement