source:
connect.php@
f9c482b
Last change on this file since f9c482b was f9c482b, checked in by , 7 days ago | |
---|---|
|
|
File size: 311 bytes |
Rev | Line | |
---|---|---|
[f9c482b] | 1 | <?php |
2 | ||
3 | $servername = "localhost:3306"; | |
4 | $db_username = "root"; | |
5 | $db_password = "DSKR424zewae4:$24;"; | |
6 | $dbname = "innovadb"; | |
7 | ||
8 | ||
9 | $conn = new mysqli($servername, $db_username, $db_password, $dbname); | |
10 | ||
11 | if($conn->connect_error) | |
12 | { | |
13 | die("Failed to connect to database!"); | |
14 | } | |
15 |
Note:
See TracBrowser
for help on using the repository browser.