summary refs log tree commit diff stats
path: root/mysql-php/text/a1.typ
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-php/text/a1.typ')
-rw-r--r--mysql-php/text/a1.typ15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-php/text/a1.typ b/mysql-php/text/a1.typ
new file mode 100644
index 0000000..efdc981
--- /dev/null
+++ b/mysql-php/text/a1.typ
@@ -0,0 +1,15 @@
+#import "/tpl.typ": *
+#show: A => apply(A)
+#set raw(lang: "php")
+#set par(leading: 0.725em)
+
+#assignment(1)[
+  Create a table `Student` in a MySQL database containing the fields `name`, `roll`, `city`, `email` and `date_of_birth` and insert 5 records into this table and display them using PHP.
+]
+
+#scos(1)[
+    === Form page
+    #align(center, image("/output/1/1.png", width: 60%))
+    === Display record
+    #image("/output/1/2.png", width: 100%)
+]