Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // db
- $location = "";
- $user = "root";
- $pass = "mypass";
- $db = "adminPortal";
- $conn = mysql_connect($location, $user, $pass);
- if (!$conn) {
- die("Couldnt connect to DB. ". mysql_error());
- }
- else {
- mysql_select_db($db,$conn);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement