summaryrefslogtreecommitdiff
path: root/php/01-common-theme/contact.php
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-04-05 15:37:11 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-04-05 15:37:11 +0530
commit46d89228ed7a577628dc8c37c2e72161e39ec0a4 (patch)
tree8a6a688ee6a8edda064a1d526de237fa48ddc969 /php/01-common-theme/contact.php
parent5b6b5b62a0dfd4525db9a97a52634d1f8bb8e19c (diff)
Added PHP sample websiteHEADmaster
Diffstat (limited to 'php/01-common-theme/contact.php')
-rw-r--r--php/01-common-theme/contact.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/php/01-common-theme/contact.php b/php/01-common-theme/contact.php
new file mode 100644
index 0000000..c5d8dae
--- /dev/null
+++ b/php/01-common-theme/contact.php
@@ -0,0 +1,35 @@
+<?php
+
+include "common/header.php";
+
+?>
+
+<style>
+
+textarea.message {
+ width: 300px;
+ height: 100px;
+}
+
+input.subject {
+ width: 300px;
+}
+
+</style>
+
+<form method="post" action="contact-process.php">
+
+Subject:
+ <input name="subject" class="subject" type="text"/>
+
+Body:
+ <textarea name="message" class="message"></textarea>
+
+ <input type="submit" value="Submit"/>
+
+</form>
+
+<?php
+
+include "common/footer.php";
+