p.131 HTML表單FORM

BMI Calculator

別名Nickname:
身高Height:
體重Weight:
地區Region:
輸入類型 Input types Text 文字方塊 Password 密碼 Date Dropdown 下拉式選單 Checkboxes 複選框 Submit 提交按鈕 Radio 單選按鈕 p.133
Your Nickname:
p.134
Full English name:
p.135
Password: Territory: Coding
Cooking
p.136 dateInput.html
Your birthday:
p.137 dropdownSelection.html
Territory:
p.138 checkbox.html
Interest:
Coding
Cooking
p.139 submitButton.html
Your Nickname:
Technology Expo Volunteers 科技博覽會 Please fill in the contact form below. 請填寫以下聯絡表單。 (* are required fields * 為必填欄位) 姓名*:Name *: 班別*:Class*: 性別 :Gender: 男 Male ▼ 溝通語言:Spoken Language:(選取所有適用選項) □ Cantonese □ English □ Japanese □ Korean □ 粵語 □ 英語 □ 日語 □ 韓語 電郵地址:Email Address*: Submit 提交 p.140

(* are required fields 為必填欄位)

Name:
Class:
Gender:
Spoken Language:
Cantonese English Japanese Korean
Email:
p.141-cp3.1 Know yourself better! 加深對自己的了解 填寫以下表單以找出自己的所屬生肖和星座: Fill in the form below to know your Constellations. 姓名 Name: Yumi 出生地點 Birthplace: 性別 Gender: Female ▼ 電郵地址:Email Address: yumi0808@hotmail.com 出生曰期:Birthday: 8/8/2008 ▼ Find out now! 查看結果

Fill in the form below to know your symbolic and constellation.

填寫以下表單以找出自己的所屬生肖和星座:

姓名:Name: (i)
地點:Birthplace: (ii)
電郵地址:Email: (iv)
出生曰期:Birthday: (v)
(vi)
p.141 Answer

Fill in the form below to know your symbolic and constellation.

Name:
Birthplace:
Gender:
Email:
Birthday:
p.142 BMI

別名 :

身高(cm):

體重(kg):

地區:

p.146 GET https://search.kmb.hk/KMBWebSite/?action=routesearch&route=170 Looking for a new television? Brand: Samsung Type: OLED Size: 55-65 inch Max Price: 7500 Search p.147 航班資訊 Flight Information Depart Airport: 出發地點:HKG 香港 Destination: 目的地:LHR (倫敦希思路) Class: 客艙級別:商務 Business 曰期:2023-08-24 Flight Code: 航班編號:EC872 立即預訂 Book Now p.148 ?? User Name: user Password: ***** p.l55 bmi-result p.156 student.htm name marks submit student.php 80){ $grade = "A"; }elseif ?> p.157 pastPaper.htm subject subpaper submit pastPaper.php $subject = $_GET["subject"]; if ($_GET["year"] < 2012){ echo "沒有2012年前的過去試卷!"; } p.158 graduationGPA.htm 學生名稱:
學院:
第一年GPA :
第二年GPA :
第三年GPA :
第四年GPA :

Student name: Oscar Faculty: Science Your GPA is 3.84 p.159 250){ $valid = false; } if(empty($wt)){ $valid = false; }elseif($wt<0 || $wt>250){ $valid = false; } if($valid){ $bmi = $wt/($ht/100)**2); echo "Hi {$_POST["name"]}, your BMI is {$bmi}."; }else{ echo "不合法Invalid data entered!"; ?> p.170-cp3.4 Questionaire on Eating Habit Please answer the following questions Name: Chris Wong Gender: Male Age: 29 ▼ 你最喜歡在哪裏吃晚飯? What is your favourite place to have dinner? Tommy's Kitchen Email: chriswongl23@mymail.net When was the last time you ate out? 最近一次外出用膳是何時? 25/1/2024 ▼ how often do you order food delivery? 你多常叫外賣送餐? 1-5 eatingHabit.html Submit □
Name:
Age:
Email:
What is your favourite place to have dinner?

When was the last time you ate out?

On a scale of 1 to 5, how often do you order food delivery?

(a)用戶點擊提交按鈕後,表單數據會如何發送 p.171 date{"Y-m-d")){ $valid = False; } (iv)固定數值據查:(1-5) if (! in_array($_POST["delivery"],[1,2,3,4,5])){ $valid = False; } p.181-quadratic quadraticSolver.php

Quadratic Solver

Enter the coefficients below: ax2+bx+c = 0

Part A HTML form for users to enter three coefficients of the quadratic equation
p.182 Part A

Quadratic Solver

Enter the coefficients below: ax2+bx+c = 0

a:
b:
c:
p.184 Part B 0){ $root_1 = (-$b + sqrt($disc)) / (2*$a); $root_2 = (-$b - sqrt($disc)) / (2*$a); echo "There are two distinct real solutions.
"; echo "The solutions are {$root_1) and {$root_2}."; } elseif ($disc == 0){ $root = (-$b) / (2*$a); echo "There is one repeated real solution.
"; echo "The solution is {$root}."; } else { echo "There is no real solution."; } } else { echo "Invalid coefficients entered!"; }