แบบทดสอบการเขียนโปรแกรมเพิ่มข้อมูล (INSERT) พร้อม Sweet Alert 2
Quiz
•
Computers
•
University
•
Medium
นางสาวอลิษา ธีราลาภ
Used 23+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดคือความหมายของ Attribute action ในแท็ก <form>
ระบุวิธีส่งข้อมูลไปยังเซิร์ฟเวอร์
กำหนด URL ที่จะส่งข้อมูลไปประมวลผล
ระบุชนิดของข้อมูลในฟอร์ม
ใช้สำหรับเข้ารหัสข้อมูลที่ส่งไป
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ในการสร้างฟอร์มเพื่อส่งข้อมูลที่มีการอัพโหลดไฟล์ ควรใช้ Attribute ใดร่วมด้วย
method="get"
enctype="multipart/form-data"
action="upload.php"
input type="file"
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดคือความหมายของ Attribute autofocus ในแท็ก <input>
บังคับให้ต้องกรอกข้อมูลก่อนส่งฟอร์ม
แสดงข้อความเตือนเมื่อไม่ได้กรอกข้อมูล
กำหนดให้ช่องกรอกข้อมูลนั้นได้รับโฟกัสทันทีเมื่อโหลดหน้าเว็บ
ใช้ในการตรวจสอบความถูกต้องของข้อมูล
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ในการสร้างฐานข้อมูลด้วย phpMyAdmin ข้อใดไม่ใช่ขั้นตอนที่จำเป็น
เข้า phpMyAdmin ผ่าน URL หรือโปรแกรม XAMPP
กำหนดชื่อฐานข้อมูลและเลือก Collation
สร้างตารางและกำหนด Primary Key
เขียนคำสั่ง SQL เพิ่มข้อมูลในไฟล์ HTML
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ในการเขียนโปรแกรมเพิ่มข้อมูลด้วย PHP ข้อใดเป็นขั้นตอนแรกที่ต้องทำ
เริ่มการทำงานของ Session ด้วย session_start();
ตรวจสอบการส่งข้อมูลด้วย isset($_POST['submit'])
สร้างคำสั่ง SQL สำหรับ INSERT ข้อมูล
แสดงผลแจ้งเตือนผ่าน Sweet Alert 2
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
คำสั่ง SQL สำหรับเพิ่มข้อมูลในตาราง tbl_member ควรมีรูปแบบอย่างไร
UPDATE tbl_member SET member_user='$username', member_pass='$password'
DELETE FROM tbl_member WHERE member_user='$username'
INSERT INTO tbl_member(member_user, member_pass) VALUES('$username','$password')
SELECT * FROM tbl_member WHERE member_user='$username'
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดคือเหตุผลที่ต้องมีการใช้คำสั่ง include_once "db.php";
เพื่อเริ่มการทำงานของ Session
เพื่อสร้างฟอร์มสำหรับรับข้อมูล
เพื่อเชื่อมต่อกับฐานข้อมูล MySQL
เพื่อโหลดไฟล์ CSS ของ Bootstrap
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
สิทธิ์ของเรา
Quiz
•
University
10 questions
Structure of Java Program
Quiz
•
University
10 questions
ภาษา HTML
Quiz
•
University
10 questions
หลักพื้นฐานของการออกแบบปฏิสัมพันธ์
Quiz
•
University
10 questions
scratch
Quiz
•
University
15 questions
GED1001
Quiz
•
University
15 questions
หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ
Quiz
•
11th Grade - University
10 questions
WEEK15 LAST TEST
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
