D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
grandhou
/
public_html
/
album
/
include
/
Filename :
configpage.php
back
Copy
<?php $username="grandhou_admin21"; $password="ZfD!F06KK2hw"; $hostname = "localhost"; //connection string with database $dbhandle = mysqli_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); echo ""; // connect with database $selected = mysqli_select_db($dbhandle, "grandhou_house21") or die("Could not select examples"); //Database Connection $conn = mysqli_connect('localhost', 'grandhou_admin21', 'ZfD!F06KK2hw', 'grandhou_house21'); //Check for connection error if($conn->connect_error){ die("Error in DB connection: ".$conn->connect_errno." : ".$conn->connect_error); } ?>