Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 1. Create a database connection
- $connection = mysqli_connect("127.0.0.1","root","*****");
- if (!$connection) {
- die("Database connection failed: " . mysqli_connect_error());
- }
- // 2. Select a database to use
- $db_select = mysqli_select_db($connection, "betfair");
- if (!$db_select) {
- die("Database selection failed: " . mysqli_error($connection));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement