AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Communication Technology (Arabic)

switch والنماذج وصفحة إضافة مصطلح

Week 13 · Unit 3 Creating Site Pages (6), Topics 2–3: the switch statement; the Add_Term page: designing the form, GET and POST, form controls, including the header and connection pages · 3 lessons
الإجابات لأولياء الأمور والمعلمين.
1
ماذا يطبع هذا؟ ⁦$n = 3; switch ($n) { case 1: echo "a"; break; case 3: echo "c"; case 4: echo "d"; break; default: echo "z"; }⁩
2
أعد الكتابة بحالات متراصة بحيث تطبع الأعداد 6 و7 «weekend» وتطبع 1 إلى 5 «school day».
3
اختر GET أو POST مع السبب: (أ) مربع بحث للقاموس، (ب) نموذج يرفع صورة، (ج) نموذج يغيّر مستوى عضو.
4
في نموذج ‎⁦<input name="title" type="text">⁩‎. اكتب كود PHP الذي يقرأ ما كُتب (النموذج يستخدم post).
5
لماذا يجب أن يطابق الاسم المكتوب في النموذج الاسم المستخدم في PHP حرفًا بحرف؟