RPR/02_Software/02_RaspberryPi/db.inc.php

17 lines
313 B
PHP
Raw Normal View History

<?php
$host = "localhost";
$username = "root";
$password = "root";
$dbname = "rpr_robot";
$result_array = array();
/* Create connection */
$conn = new mysqli ($host, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>