survey/test/db.php
2023-03-27 15:17:34 +02:00

13 lines
186 B
PHP

<?php
$con = mysqli_connect("localhost","root","","survey");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>