From d9c756c3ba9ef2befac28c109edff7a3323ae07e Mon Sep 17 00:00:00 2001 From: Wisdurm Date: Tue, 28 Oct 2025 09:35:07 +0200 Subject: [PATCH] =?UTF-8?q?Lis=C3=A4=C3=A4=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 6 +++-- lisaa.php | 12 +++++++++ uusopiskelija.php | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 lisaa.php create mode 100644 uusopiskelija.php diff --git a/index.php b/index.php index a08193a..19d775b 100755 --- a/index.php +++ b/index.php @@ -13,9 +13,11 @@
diff --git a/lisaa.php b/lisaa.php new file mode 100644 index 0000000..06be260 --- /dev/null +++ b/lisaa.php @@ -0,0 +1,12 @@ +query($sql) === TRUE) { + echo "New record created successfully"; +} else { + echo "Error: " . $sql . "
" . $conn->error; +} +$conn->close(); +?> diff --git a/uusopiskelija.php b/uusopiskelija.php new file mode 100644 index 0000000..55c17ab --- /dev/null +++ b/uusopiskelija.php @@ -0,0 +1,64 @@ + + + + + + Lisää opiskelija + + + +
+

+ Lisää opiskelija +

+
+ +
+
+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+
+
+ + + -- 2.47.3