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