Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 17th, 2013  |  syntax: None  |  size: 0.17 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $dbhost = 'localhost';
  3. $user = 'root';
  4. $password = 'root';
  5. $dbname = 'inventory';
  6. $pdo = new PDO("mysql:host=" . $dbhost . ";dbname=" . $dbname, $user, $password);
  7. ?>