create a db for the login
This commit is contained in:
parent
86861c9ccd
commit
dd599083d3
10
db/db.php
Normal file
10
db/db.php
Normal 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();
|
||||||
|
}
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user