added example file
This commit is contained in:
parent
9962aff322
commit
05bfe3259e
1 changed files with 12 additions and 0 deletions
12
backend.php.example
Normal file
12
backend.php.example
Normal 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;
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue