Browse Source

modified: z1/README.md

modified:   z1/index.php
master
Rafasaeza 1 month ago
parent
commit
588a8e7352
  1. 2
      z1/README.md
  2. 2
      z1/index.php

2
z1/README.md

@ -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:

2
z1/index.php

@ -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…
Cancel
Save