modified: z1/README.md

modified:   z1/index.php
This commit is contained in:
Rafasaeza 2024-04-17 10:42:24 +02:00
parent 4035fee1fd
commit 588a8e7352
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ Notes manager where you can write each note you want with a maximum length of 6
- nginx:alpine
- mysql:latest
- 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:
Same network used for the three containers docker compose will create automatically this network and will assign it to the three containers
- Git:

View File

@ -9,7 +9,7 @@ if ($db->connect_errno) {
exit(); // Exit the script if there's a connection error
}
$getNotes = "select * from notag" ;
$getNotes = "select * from nota" ;
$notes = mysqli_query($db,$getNotes);
mysqli_close($db);
?>