Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pdo = new PDO("mysql:host=localhost;dbname=database", 'username', 'password');
- $query = $pdo->prepare("INSERT INTO users (user,pass) VALUES (:user,:pass)");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement