Advertisement
Guest User

Untitled

a guest
Oct 13th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $host = 'localhost';
  2. $username = 'root';
  3. $password = '';
  4. $dbname = 'fixmytech';
  5. $port = 3306;
  6. $charset = 'utf8';
  7.  
  8. $dsn = "mysql:host=$host;dbname=$dbname;port=$port;charset=$charset";
  9. $xpdo = new xPDO($dsn, $username, $password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement