From 588a8e73529dd518e256389e08ba8b16825922b4 Mon Sep 17 00:00:00 2001 From: Rafasaeza Date: Wed, 17 Apr 2024 10:42:24 +0200 Subject: [PATCH] modified: z1/README.md modified: z1/index.php --- z1/README.md | 2 +- z1/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/z1/README.md b/z1/README.md index e40ab77..e067b2e 100644 --- a/z1/README.md +++ b/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: diff --git a/z1/index.php b/z1/index.php index cb1938f..de79437 100644 --- a/z1/index.php +++ b/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); ?>