modified: z1/README.md
modified: z1/index.php
This commit is contained in:
parent
4035fee1fd
commit
588a8e7352
@ -12,7 +12,7 @@ Notes manager where you can write each note you want with a maximum length of 6
|
|||||||
- nginx:alpine
|
- nginx:alpine
|
||||||
- mysql:latest
|
- mysql:latest
|
||||||
- Volumes used:
|
- Volumes used:
|
||||||
They are local directories: templates(where you can find every file that the application use). The directory data where you can find the local file of the data that is inserted in the database.
|
They are local directories:The directory data where you can find the local file of the data that is inserted in the database.
|
||||||
- Network:
|
- Network:
|
||||||
Same network used for the three containers docker compose will create automatically this network and will assign it to the three containers
|
Same network used for the three containers docker compose will create automatically this network and will assign it to the three containers
|
||||||
- Git:
|
- Git:
|
||||||
|
@ -9,7 +9,7 @@ if ($db->connect_errno) {
|
|||||||
exit(); // Exit the script if there's a connection error
|
exit(); // Exit the script if there's a connection error
|
||||||
}
|
}
|
||||||
|
|
||||||
$getNotes = "select * from notag" ;
|
$getNotes = "select * from nota" ;
|
||||||
$notes = mysqli_query($db,$getNotes);
|
$notes = mysqli_query($db,$getNotes);
|
||||||
mysqli_close($db);
|
mysqli_close($db);
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user