1) What is the php tag a) <php> </php> b) <php ... /> c) <?php ?> 2) How do you echo something in PHP  a) echo["Hello World"] b) echo "Hello World" c) echo Hello World d) echo "Hello World"; 3) How do you concatenate a string? a) echo "Hello" .$var. "World"; b) echo "Hello" + $var + "World"; c) echo "Hello" plus $var plus "World"; d) echo concatenate("Hello" .$var. "World"); 4) What does PHP stand for a) Probably Hyped Programming b) PHP: HyperText Processor c) Print Hard Programs 5) What is the PHP logo a) b) c) 6) What is the difference between $_GET and $_POST a) It is the same b) IDK lol c) $_GET is used for a form with an method of $_POST, and $_POST is used for a form with an method of $_GET d) $_GET is used for a form with an method of $_GET, and $_POST is used for a form with an method of $_POST 7) Is PHP safe? a) Yes it is completely b) Not at all in any way c) Yes, provided you use PDO for SQL queries  8) What does htmlspecialchars() do? a) It creates random HTML characters b) It encodes special HTML special characters, instead of actually "executing the HTML code" c) It makes the HTML feel better than CSS and JavaScript 9) Can you use PHP with SQL a) Yep b) No c) WDYM??? d) IDK 10) Does htmlspecialchars() prevent SQL injection attacks? a) No, it doesn't. It isn't effective against SQL attacks. Using prepared statements is better b) Yes, It does, because it converts special characters, right?

ลีดเดอร์บอร์ด

สไตล์ภาพ

ตัวเลือก

สลับแม่แบบ

คืนค่าการบันทึกอัตโนมัติ: ใช่ไหม