<?php
$con = mysqli_connect("localhost" "root" "") or die("Unable to connect");
mysqli_select_db("logindb", $con);
?>
This is the configuration of the connecting.
<?php
require 'config.php';
?>
This is where is connect the database to a registration page.
Can you see something wrong? This is the error i get: Parse error: syntax error, unexpected '"root"' (T_CONSTANT_ENCAPSED_STRING)
Thanks, Realcookie