diff --git a/views/pages/institution/controller/update-school-controller.php b/views/pages/institution/controller/update-school-controller.php new file mode 100644 index 0000000..7d7a175 --- /dev/null +++ b/views/pages/institution/controller/update-school-controller.php @@ -0,0 +1,18 @@ +prepare("UPDATE schools + SET nameSchool = ? + WHERE idSchool = $id"); + $stmt->bindValue(1, $name); + $stmt->execute(); +} \ No newline at end of file diff --git a/views/pages/institution/school/forms-update-school-page.php b/views/pages/institution/school/forms-update-school-page.php new file mode 100644 index 0000000..5181cae --- /dev/null +++ b/views/pages/institution/school/forms-update-school-page.php @@ -0,0 +1,43 @@ +prepare("SELECT * FROM schools + WHERE idSchool = $id + "); + $stmt->execute(); + $rowCat = $stmt->fetch(PDO::FETCH_BOTH); +} +?> + + + + + + + + + Cadastro ETEC | HERE! + + + +
+ +
+
+ +
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git a/views/pages/institution/school/list-school.page.php b/views/pages/institution/school/list-school.page.php index 0bc5a90..2fb9b47 100644 --- a/views/pages/institution/school/list-school.page.php +++ b/views/pages/institution/school/list-school.page.php @@ -80,6 +80,7 @@ + @@ -141,7 +142,7 @@
- +
@@ -166,3 +167,4 @@ +