Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- try {
- $conn = new PDO("mysql:host=localhost; dbname=nomebanco user=root password=123456");
- } catch (PDOException $e) {
- print $e->getMessage();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement