Guest User

Untitled

a guest
Oct 21st, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $dbh = new PDO('mysql:host=localhost;dbname=band', 'root', 'pass);
  2. $sth = $dbh->prepare("INSERT INTO members SET username = ?, password = ?");
  3. $sth->execute(array($username, $password));
Add Comment
Please, Sign In to add comment