Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. $pdo = new PDO('mysql:host=localhost;dbname=test', $user, $pass)
  2. $stmt = $pdo->prepare('SELECT * FROM sometable');
  3. $stmt->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement