added example file

This commit is contained in:
Jan Felix Wiebe 2018-12-27 20:04:51 +01:00
parent 9962aff322
commit 05bfe3259e

12
backend.php.example Normal file
View file

@ -0,0 +1,12 @@
<?php
/**
* Created by PhpStorm.
* User: jedi
* Date: 12/27/18
* Time: 7:01 AM
*/
$mysqli = new mysqli("localhost", "c3cloc", "ENTERPASSWORD", "c3cloc");
if ($mysqli->connect_errno) {
echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
}
?>