Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $user="*****"; // MySQL Username
- $pass="*****"; // MySQL Password
- try {
- $dbh = new PDO('mysql:host=localhost;dbname=csgobetw_sp', $user, $pass); // MySQL Database
- // foreach($dbh->query('SELECT * from game1') as $row) {
- // print_r($row);
- // }
- //$dbh = null;
- } catch (PDOException $e) {
- print "Error!: " . $e->getMessage() . "<br/>";
- die();
- }
- ?>
Add Comment
Please, Sign In to add comment