p.131 HTML表單FORM
(* are required fields 為必填欄位)
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.
填寫以下表單以找出自己的所屬生肖和星座:
p.141 AnswerFill in the form below to know your symbolic and constellation.
p.142 BMI 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 □ (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.phpEnter the coefficients below: ax2+bx+c = 0
p.182 Part AEnter the coefficients below: ax2+bx+c = 0
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.