17 lines
313 B
PHP
17 lines
313 B
PHP
<?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);
|
|
}
|
|
|
|
?>
|