Advertisement
Guest User

Untitled

a guest
Jan 29th, 2016
74
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. try {
  3. $conn = new PDO("mysql:host=localhost; dbname=nomebanco user=root password=123456");
  4.  
  5. } catch (PDOException $e) {
  6. print $e->getMessage();
  7.  
  8. }
  9.  
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement