Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Connection to db page
- // Setting variables and connection
- $server = "localhost";
- $user = "root";
- $password = "";
- $db = "testphp_1";
- $conn = mysqli_connect($server,$user,$password,$db);
- // Opening Connection and handling error
- if(!$conn){ exit("Failed to Connect with DataBase."); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement