diff --git a/controllers/note-create.php b/controllers/note-create.php index f869b9a..5fd31da 100644 --- a/controllers/note-create.php +++ b/controllers/note-create.php @@ -1,6 +1,11 @@ query("INSERT INTO notes (body, user_id) VALUES (:body, :user_id)", ['body' => $_POST['body'], 'user_id' => 1]); } require 'views/note-create.view.php'; \ No newline at end of file diff --git a/views/note.view.php b/views/note.view.php index 7837a47..f20d692 100644 --- a/views/note.view.php +++ b/views/note.view.php @@ -6,7 +6,7 @@

go back

-

+

\ No newline at end of file diff --git a/views/notes.view.php b/views/notes.view.php index 13ac33f..f32c21e 100644 --- a/views/notes.view.php +++ b/views/notes.view.php @@ -7,7 +7,7 @@
  • - +