Last change
on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago |
Upload project files
|
-
Property mode
set to
100644
|
File size:
311 bytes
|
Rev | Line | |
---|
[e3d4e0a] | 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.