0

I get this error when I submit the login form.

The database named login does exist.

you can see it here

The error picture

I'm using wamp

This is the PHP code:

$servername ="localhost";
$dBUsername="root";
$dBPassword="";
$dBName="login";

$conn=mysqli_connect($servername,$dBUsername,$dBPassword,$dBName);

if (!$conn) {
die("Ni uspilo:".mysqli_connect_error());
}
Jay Blanchard
  • 33,530
  • 16
  • 73
  • 113

0 Answers0