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
|
||||
- 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:
|
||||
|
@ -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);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user