PHP (Forms and Variables)

PHP (Forms and Variables)

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Latihan Pilihan Ganda - Sketchup

Latihan Pilihan Ganda - Sketchup

9th Grade

15 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Sustainable Developments Goals

Sustainable Developments Goals

6th - 12th Grade

17 Qs

Unit Test 1 Class 8 Computer

Unit Test 1 Class 8 Computer

8th - 9th Grade

20 Qs

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

10th Grade

20 Qs

Q1 M3 PRE-TEST

Q1 M3 PRE-TEST

10th Grade

20 Qs

HTML5 Basics

HTML5 Basics

7th - 10th Grade

20 Qs

PHP (Forms and Variables)

PHP (Forms and Variables)

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

NATHAN FRANKENBERGER

Used 9+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the action attribute control in the <form> tag?

How the form is displayed

Where the data from the form is sent

If the data is displayed in the address bar

If the form is interactive

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What denotes a variable in PHP?

#

_

!

$

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When using "Post" as your form method, what variable will contain all the values sent by the form?

$GET

$POST

$_POST

$_GET

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When using "Get" as your form method, what variable will contain all the values sent by the form?

$GET

$POST

$_POST

$_GET

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

$_GET and $_POST are best descibed as

arrays

doubles

Strings

integers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given <input type='text' name='last'>, how would this data be accessed after the form has been submitted (assume method was POST)

$_POST['text]

$_POST['last']

$_POST[]

$_POST['input']

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Escape sequences are valid inside which type of String?

' '

" "

$ .... $

// ........ //

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?