create a db for the login

This commit is contained in:
Ismail Cadaroski 2017-01-24 19:27:05 +01:00
parent 86861c9ccd
commit dd599083d3
1 changed files with 10 additions and 0 deletions

10
db/db.php Normal file
View File

@ -0,0 +1,10 @@
<?php
// Enter your Host, username, password, database below.
// I left password empty because i do not set password on localhost.
$con = mysqli_connect("localhost","root","password","register_web1");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>