I have an Problem for simple Program in Xampp
Config.php // Correct
<?php
error_reporting(0);
$con = mysqli_connect('localhost','root','','test');
If(!$con) {
die("Connection Error");
}
else {
echo("Connection Successfull");
}
?>
Browser Chrome Url : localhost/PHP1/Config.php
Output is Correct - Connection Successfull
<?php
error_reporting(0);
$con = mysqli_connect('localhost','root','','tes');
If(!$con) {
die("Connection Error");
}
else {
echo("Connection Successfull");
}
?>
But this was an Error in Database tes
But the output will be empty.